# `ACPex.Schema.Session.NewRequest`
[🔗](https://github.com/lostbean/acpex/blob/v0.1.1/lib/acpex/schema/session/new_request.ex#L1)

Request to create a new conversation session.

Sent by the client to start a new conversation with the agent.

## Required Fields

  * `cwd` - Current working directory (string)
  * `mcp_servers` - List of MCP server configurations (list of maps)

## Optional Fields

  * `meta` - Additional metadata (map)

## Example

    %ACPex.Schema.Session.NewRequest{
      cwd: "/path/to/project",
      mcp_servers: []
    }

## JSON Representation

    {
      "cwd": "/path/to/project",
      "mcpServers": []
    }

# `t`

```elixir
@type t() :: %ACPex.Schema.Session.NewRequest{
  cwd: String.t(),
  mcp_servers: [map()],
  meta: map() | nil
}
```

# `changeset`

```elixir
@spec changeset(t(), map()) :: Ecto.Changeset.t()
```

Creates a changeset for validation.

## Required Fields

  * `cwd` - Must be present
  * `mcp_servers` - Must be present (can be empty list)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
