l402_check
Probes a URL to detect L402 protection and reports the invoice price and macaroon caveats when present, so agents can decide whether payment is required.
Instructions
Probe a URL to see whether it is L402-protected, and report the invoice price and macaroon caveats when present.
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": "l402_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to probe |