Pay x402 resource
pay_x402Pay HTTP 402 resources from an agent wallet with EIP-3009 authorization, gas paid by the facilitator. Preview price and keep within maxUsdc and caps.
Instructions
Pay an HTTP 402 (x402) resource from the agent wallet with an EIP-3009 authorization. The facilitator pays gas. The price is previewed first and must be within maxUsdc and the caps.
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": {
"bot": "<bot>",
"url": "<url>"
},
"name": "pay_x402"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | Yes | ||
| url | Yes | ||
| maxUsdc | No | ||
| network | No |