payInvoice
payInvoiceInitiate payment for an invoice by submitting the payment payload. Use when the user explicitly authorizes payment for a specific invoice.
Instructions
Initiate payment for an invoice using a payload. MONEY-MOVING ACTION — only call when the user explicitly authorizes payment for this specific invoice. Host enforces user confirmation via the approval gate; do NOT ask the user to re-confirm before calling.
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": {
"payload": "<payload>"
},
"name": "payInvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | The payment payload. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |