Agent Client Protocol - v0.12.0
    Preparing search index...

    Type Alias NewSessionRequest

    Request parameters for creating a new session.

    See protocol docs: Creating a Session

    type NewSessionRequest = {
        _meta?: { [key: string]: unknown } | null;
        cwd: string;
        mcpServers: McpServer[];
    }
    Index

    Properties

    Properties

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow clients and agents to attach additional metadata to their interactions. Implementations MUST NOT make assumptions about values at these keys.

    See protocol docs: Extensibility

    cwd: string

    The working directory for this session. Must be an absolute path.

    mcpServers: McpServer[]

    List of MCP (Model Context Protocol) servers the agent should connect to.