Answer tool approval
answer_tool_approvalAllow or refuse a tool call an agent stopped on: in a conversation (chat_with_agent's awaiting_approval, an app's or a phone call's), or in a scheduled run. Name where it waits with session_id or schedule_id; list_waiting shows each with its ids. Allowed, the turn carries on and this waits for its reply. A question is answered once.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"approve": "<approve>"
},
"name": "answer_tool_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | The agent whose question it is, when several wait. | |
| reason | No | Why, told to the agent (optional). | |
| approve | Yes | true to let the call run, false to refuse it. | |
| session_id | No | The conversation that waits. | |
| approval_id | No | The call this answers, so an older question is never answered by mistake. | |
| question_id | No | Which team member's question, when several wait. | |
| schedule_id | No | The schedule whose run waits. | |
| wait_seconds | No | Seconds to wait for the resumed turn's reply. It carries on after the wait. |