Agent Client Protocol - v0.26.0
    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 = {
        mcpServers: McpServer[];
        cwd: string;
        additionalDirectories?: string[];
        sessionId: SessionId;
        _meta?: { [key: string]: unknown } | null;
    }
    Index

    Properties

    mcpServers: McpServer[]

    List of MCP servers to connect to for this session.

    cwd: string

    The working directory for this session.

    additionalDirectories?: string[]

    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. It may differ from any previously used or reported list as long as the request cwd matches the session's cwd.

    sessionId: SessionId

    The ID of the session to load.

    _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