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

    Type Alias ElicitationSessionScope

    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
    sessionId: SessionId

    The session this elicitation is tied to.

    toolCallId?: ToolCallId | null

    Optional tool call within the session.

    Optional. Omitted and null are equivalent and mean the elicitation is scoped to the session without a specific tool call.