Ask a person for approval
request_approvalAsk a person to approve an action before you take it. Use it before anything that sends, spends, deletes, publishes or changes access on someone's behalf. Write the summary as one plain sentence saying exactly what will happen, with amounts, recipients and counts. The answer says whether you may act: only allowed: true means yes. Pending, denied, expired and withdrawn all mean do not act.
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>",
"action": "<action>",
"summary": "<summary>"
},
"name": "request_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Your name, the same every time. 1 to 200 characters. | |
| action | Yes | Short machine-friendly name of the action, such as `email.send` or `payment.create`. Standing rules match on it. | |
| amount | No | The money the action would move, such as 129.00. Give it whenever money moves; rules with a limit go by it. Use a string for an amount with decimals at or above 100,000,000,000. Needs `currency`. | |
| details | No | Supporting facts shown to the person deciding, as sent and as plain text. Put message text whole in `body`, a code change as a unified diff in `diff`, SQL in `sql`, a shell command in `command`, and items as a list of objects with the same keys. | |
| sources | No | What you read before asking that shaped this request: an email, a web page, a document, a ticket, another tool's output. Give each one a short label and the part of its text that led here. People see them, with values in `details` traced back to them. Everything listed here is shown as untrusted, so while you list any input no standing rule approves the request on its own and a person decides. | |
| summary | Yes | What will happen, for the person deciding. One sentence, up to 2,000 characters. | |
| currency | No | Three-letter currency code of `amount`, such as EUR. | |
| ttl_seconds | No | How long the request stays open before it expires. Defaults to 15 minutes. | |
| wait_seconds | No | Wait up to this many seconds for a person to decide, and answer as soon as they do. |