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

    Type Alias CloseSessionRequestExperimental

    UNSTABLE

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

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