mad_check_endpoint
Check an endpoint before paying against its printed x402 price: HTTP status, latency, sha256 of the body served, and whether it is alive at all. A dead door's price print is a price for nothing.
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": "mad_check_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |