ACPex.Schema.Session.NewRequest (ACPex v0.1.0)
View SourceRequest 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": []
}
Summary
Functions
Creates a changeset for validation.
Types
Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Creates a changeset for validation.
Required Fields
cwd
- Must be presentmcp_servers
- Must be present (can be empty list)