send_with_credits
Send the letter: spend the exact final total from the prepaid balance and queue one mailing order. grant_id is optional; the owner's active permission for this assistant or key is used. Queued is not printed, mailed or delivered. Reuse the same key/body on retry. On INSUFFICIENT_FUNDS give the user the returned funding link.
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": {
"send_intent_id": "<send_intent_id>",
"quote_id": "<quote_id>",
"proof_id": "<proof_id>",
"expected_total_minor": "<expected_total_minor>",
"currency": "<currency>",
"idempotency_key": "<idempotency_key>"
},
"name": "send_with_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | Yes | ||
| grant_id | No | ||
| proof_id | Yes | ||
| quote_id | Yes | ||
| send_intent_id | Yes | ||
| idempotency_key | Yes | ||
| expected_total_minor | Yes |