Agent Client Protocol - v1.2.1
    Preparing search index...

    Type Alias NewSessionResponse

    Response from creating a new session.

    See protocol docs: Creating a Session

    type NewSessionResponse = {
        sessionId: SessionId;
        modes?: SessionModeState | null;
        configOptions?: SessionConfigOption[] | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    sessionId: SessionId

    Unique identifier for the created session.

    Used in all subsequent requests for this conversation.

    modes?: SessionModeState | null

    Initial mode state if supported by the Agent

    See protocol docs: Session Modes

    configOptions?: SessionConfigOption[] | null

    Initial session configuration options if supported by the Agent.

    _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