Approve from prepaid balance
approve_mailSpend prepaid funds: Spend from prepaid balance only when the creating key's owner enabled Send without human approval and set a monthly cap. Pass id and the exact approval_hash from send_mail. Otherwise share approval_url.
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": {
"approval_hash": "<approval_hash>",
"id": "<id>"
},
"name": "approve_mail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| approval_hash | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| to | Yes | ||
| from | Yes | ||
| mode | Yes | ||
| pages | Yes | ||
| proof | Yes | ||
| quote | Yes | ||
| route | Yes | ||
| state | Yes | ||
| object | Yes | ||
| status | Yes | ||
| options | Yes | ||
| payment | Yes | ||
| product | Yes | ||
| service | Yes | ||
| approval | Yes | ||
| mail_url | Yes | ||
| timeline | Yes | ||
| next_step | Yes | ||
| share_url | Yes | ||
| cancelable | Yes | ||
| created_at | Yes | ||
| record_url | Yes | ||
| reprint_of | No | ||
| updated_at | Yes | ||
| drafted_via | Yes | ||
| preview_url | Yes | ||
| receipt_url | Yes | ||
| to_as_given | Yes | ||
| total_cents | Yes | ||
| approval_url | Yes | ||
| cancel_until | Yes | ||
| approval_hash | Yes | ||
| address_status | Yes | ||
| cancel_summary | Yes | ||
| payment_notice | No | ||
| document_sha256 | Yes | ||
| payment_refused | No | ||
| replacement_url | No | ||
| tracking_number | Yes | ||
| possible_duplicate | Yes |