Request human approval
request_approvalCreate a human approval request for an irreversible action. Returns approve_url (pass it to the responsible human through your own channel) and approval_id. Optional wait_seconds keeps the call open (progress notifications every 10 s when the client sends a progressToken) until the human decides. 3 free per day, then 0.005 USDC via x402 (params._meta["x402/payment"]).
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": {
"action_summary": "<action_summary>"
},
"name": "request_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| risk | No | Risk level shown to the approver (default med) | |
| requester | No | Optional label shown to the approver, e.g. agent or job name | |
| callback_url | No | Optional public https URL that receives a POST with the signed receipt when decided | |
| expires_in_s | No | Seconds until the request expires unanswered (default 3600) | |
| wait_seconds | No | Optional: wait up to this many seconds for the decision before returning (0 = return immediately; >25 needs an SSE-capable client) | |
| action_summary | Yes | Plain-language description of the irreversible action awaiting approval |