x402_doctor
FREE: check whether an x402 paid endpoint is configured so AI agents can actually pay it (HTTP 402, PAYMENT-REQUIRED v2 header, XRPL invoiceId/sourceTag, RLUSD issuer, payTo can receive on-ledger, discovery file). Returns a score and exact fixes.
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_doctor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The paid endpoint URL |