Skip to content

InteractionRejectToolCallRequest

Rejects a tool call that is waiting for a person’s approval: the call does not run, and the agent is told why.

Kind: an object, used in requests.

FieldTypeRequiredDescription
toolCallApprovalIduuidyesThe id of the run’s pendingApproval. Constraints: required (empty or whitespace-only strings are rejected).
reasonstringyesWhy the call was rejected. The agent reads it in place of the call’s result. Constraints: required (empty or whitespace-only strings are rejected).
{
"toolCallApprovalId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"reason": "..."
}