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.
Fields
Section titled “Fields”| Field | Type | Required | Description |
|---|---|---|---|
toolCallApprovalId | uuid | yes | The id of the run’s pendingApproval. Constraints: required (empty or whitespace-only strings are rejected). |
reason | string | yes | Why the call was rejected. The agent reads it in place of the call’s result. Constraints: required (empty or whitespace-only strings are rejected). |
Example
Section titled “Example”{ "toolCallApprovalId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f", "reason": "..."}Where it’s used
Section titled “Where it’s used”interactionRuns.reject(POST /interactions/processes/by-id/{id}/reject)