paid_fetch
Fetches URLs, automatically paying for those requiring payment (x402 protocol) while respecting your spending policy, with free content at no cost.
Instructions
Fetch a URL, automatically paying if it requires payment (HTTP 402, x402 protocol) — within the operator's spending policy. Free URLs are fetched normally at no cost. Use payment_quote first if you only want to know the price. Payments above the operator's approval threshold will ask the human for confirmation. Spending policy is operator-owned config; no tool can widen it.
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": "paid_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| body | No | ||
| chain | No | ||
| dryRun | No | ||
| method | No | GET | |
| headers | No | ||
| maxAmountUsd | No | Tightens the per-call cap for this one call. Can only LOWER the limit, never raise it. | |
| responseMode | No | inline | |
| tokenAddress | No |