x402_pay
Request a URL and automatically pay its Nano x402 quote. Refuses quotes above max_xno, returns the paid response body and settlement receipt.
Instructions
Request a URL and automatically pay its Nano x402 quote (feeless, sub-second). Refuses quotes above max_xno. Returns the paid response body and the settlement receipt.
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": {
"url": "<url>"
},
"name": "x402_pay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| method | No | GET | |
| max_xno | No | 0.05 | |
| json_body | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |