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

    Type Alias ElicitationSessionScopeExperimental

    UNSTABLE

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

    Session-scoped elicitation, optionally tied to a specific tool call.

    When tool_call_id is set, the elicitation is tied to a specific tool call. This is useful when an agent receives an elicitation from an MCP server during a tool call and needs to redirect it to the user.

    type ElicitationSessionScope = {
        sessionId: SessionId;
        toolCallId?: ToolCallId | null;
    }
    Index

    Properties

    sessionId: SessionId

    The session this elicitation is tied to.

    toolCallId?: ToolCallId | null

    Optional tool call within the session.