check_x402
x402 Doctor: is a URL a valid agent-payable paid resource (v1+v2). GET /x402/x402-check?url= — $0.01.
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": "check_x402"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https URL of a paid endpoint | |
| payment | No | Optional. Your x402 payment proof for this exact call — the PAYMENT-SIGNATURE value produced by settling this route's 402 challenge (USDC on Base, Polygon or Solana), or an MPP 'Authorization: Payment ...' value. Omit on a first call: the tool then returns the live 402 challenge to pay against. This server relays your proof upstream and retries; it never creates or settles payments itself. |