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

    Type Alias CloseSessionRequest

    Request parameters for closing an active session.

    If supported, the agent must cancel any ongoing work related to the session (treat it as if session/cancel was called) and then free up any resources associated with the session.

    Only available if the Agent supports the sessionCapabilities.close capability.

    type CloseSessionRequest = {
        _meta?: { [key: string]: unknown } | null;
        sessionId: SessionId;
    }
    Index

    Properties

    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

    sessionId: SessionId

    The ID of the session to close.