lint_payment_required
Lint a PaymentRequired object you already have (decoded JSON, a JSON string, or the raw base64 PAYMENT-REQUIRED header). Same field/value checks as lint_x402_endpoint, no network access. Free.
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": {
"payment_required": "<payment_required>"
},
"name": "lint_payment_required"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional: the URL it was served from, to check resource.url | |
| payment_required | Yes | Object, JSON string, or base64 header value |