Probe x402 payment requirements
x402.probeInspect a URL's HTTP 402 PAYMENT-REQUIRED terms before paying. Reveals price, network, and payTo so you can review costs without spending.
Instructions
Probe a URL for HTTP 402 PAYMENT-REQUIRED terms using the x402 client SDK. Use before x402.pay_and_fetch to inspect price, network, and payTo without spending.
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.probe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute HTTP URL to probe. Example: 'https://x402-mcp.onrender.com/us/mn/property-check?address=1700%20Penn%20Ave%20N'. | |
| method | No | HTTP method for the probe. Default GET. Example: 'GET' or 'POST'. | GET |
| headers | No | Optional extra request headers as a string map. Example: {"Accept": "application/json"}. Omit if none. | |
| agent_id | No | Optional agent identity for quota accounting. Omit for the anonymous free-tier id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |