task_approve
For clients outside Caddie, as the user's explicit OK or no on what waits in a task (task_status › waiting_for_ok): a draft to send or post, a reply that asks to send, an agent or routine an agent proposed (Make it / Not now), work going somewhere with more access. Only when the user told you to decide this: never OK a send they haven't seen and agreed to. approve: true (send / make it / allow) or false (don't / not now). item: which one, its id from waiting_for_ok (required, so the answer goes on what the user saw; the same item twice is answered once). text: send this instead of the draft (the user's edit). note: a line for the agent. It shows in the chat as the user's OK, via this client.
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>",
"task": "<task>",
"approve": "<approve>",
"item": "<item>"
},
"name": "task_approve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | its id from task_status › waiting_for_ok | |
| note | No | ||
| task | Yes | ||
| text | No | ||
| agent | Yes | ||
| approve | Yes |