x402 precheck
x402_precheckPre-payment check of an x402 endpoint (0.002 USDC via x402, with an optional free trial of 1024 unpaid calls per IP per UTC day; HTTP and MCP share a bucket): reachable?, latency, live payment terms, canonical-USDC check, and whether terms match its PayAI Bazaar listing. Never pays the target.
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_precheck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | x402 endpoint URL to check | |
| method | No | GET | |
| compareDirectory | No | true |