ADK for TypeScript: API Reference
    Preparing search index...

    Type Alias IntentMismatchReason

    IntentMismatchReason:
        | "untrusted_request"
        | "malformed_request"
        | "unknown_original_call"
        | "unregistered_tool"
        | "confirmation_not_required"
        | "tool_name_mismatch"
        | "arguments_mismatch"

    Why a confirmation was refused. Each value is one of the checks the resume path makes before it runs a tool call a human approved.

    Type Declaration

    • "untrusted_request"

      The adk_request_confirmation call was not raised by the agent.

    • "malformed_request"

      The adk_request_confirmation call carries no usable pinned call.

    • "unknown_original_call"

      The pinned call is absent from session history.

    • "unregistered_tool"

      The pinned call names a tool the agent does not have.

    • "confirmation_not_required"

      The pinned tool does not gate on confirmation, so nothing was approved.

    • "tool_name_mismatch"

      The pinned tool name disagrees with the call in history.

    • "arguments_mismatch"

      The pinned arguments disagree with the call in history.