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

    Type Alias LoadSessionRequest

    Request parameters for loading an existing session.

    Only available if the Agent supports the loadSession capability.

    See protocol docs: Loading Sessions

    type LoadSessionRequest = {
        _meta?: { [key: string]: unknown } | null;
        additionalDirectories?: string[];
        cwd: string;
        mcpServers: McpServer[];
        sessionId: SessionId;
    }
    Index

    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

    additionalDirectories?: string[]

    UNSTABLE

    This capability is not part of the spec yet, and may be removed or changed at any point.

    Additional workspace roots to activate for this session. Each path must be absolute.

    When omitted or empty, no additional roots are activated. When non-empty, this is the complete resulting additional-root list for the loaded session.

    cwd: string

    The working directory for this session.

    mcpServers: McpServer[]

    List of MCP servers to connect to for this session.

    sessionId: SessionId

    The ID of the session to load.