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

    Type Alias ForkSessionRequestExperimental

    UNSTABLE

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

    Request parameters for forking an existing session.

    Creates a new session based on the context of an existing one, allowing operations like generating summaries without affecting the original session's history.

    Only available if the Agent supports the session.fork capability.

    type ForkSessionRequest = {
        _meta?: { [key: string]: unknown } | null;
        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

    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 fork.