Accept or decline an agent's approval request
respond_approvalAccept or decline a pending agent approval request from get_pending after showing the full command, directory, reason, and permissions and obtaining the person's explicit decision.
Instructions
Accept or decline an approval from get_pending (e.g. a command the agent wants to run). ALWAYS show the person the full kind/command/cwd/reason/permissions and get their explicit decision before accepting. Does not change saved permissions. Owner-only approvals give 403 — the person must answer in OpenBot.
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": {
"agent": "<agent>",
"requestId": "<requestId>",
"decision": "<decision>"
},
"name": "respond_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Agent ID or agent name (case-insensitive), as list_agents shows it. | |
| decision | Yes | ||
| requestId | Yes |