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

    Interface NewSessionResponse

    Response from creating a new session.

    See protocol docs: Creating a Session

    interface NewSessionResponse {
        _meta?: { [k: string]: unknown };
        models?: SessionModelState | null;
        modes?: SessionModeState | null;
        sessionId: string;
    }
    Index

    Properties

    _meta?: { [k: string]: unknown }

    Extension point for implementations

    models?: SessionModelState | null

    UNSTABLE

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

    Initial model state if supported by the Agent

    modes?: SessionModeState | null

    Initial mode state if supported by the Agent

    See protocol docs: Session Modes

    sessionId: string

    Unique identifier for the created session.

    Used in all subsequent requests for this conversation.