x402_estimate_cost
Estimate the payment cost for an x402-protected endpoint by providing a URL, without making any payment.
Instructions
Estimate the payment cost for an x402-protected endpoint without making a payment.
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_estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to check for payment requirements |