Check a public x402 payment endpoint before paying it
check_x402_endpointMakes one anonymous request to a public x402 payment endpoint, without ever paying, and reports whether its payment request passes the official buyer schema and how far up the receipt ladder the seller gets (does it name what it sells, does it sign its offer, does it return a signed receipt). Use it before an agent pays an endpoint it has not used before. The answer carries verdicts only, never the endpoint's raw headers or body. It is an indication from one request, not an endorsement, not a security review and not a promise that the seller will deliver; every answer says what it did not measure.
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_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The https address of the paid route to check | |
| method | No | The method the route is paid with; POST when not given |