x402_check_endpoint
Check whether an x402 endpoint is alive and emits a valid HTTP 402 payment challenge, before you pay it. Free liveness check. Returns reachability, status code and whether a valid challenge was found.
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_check_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute https URL of the x402 resource to check. |