request_l402_challenge
Genera un desafío HTTP 402 con Macaroon criptográfico y factura Lightning Bolt11 para acceso pay-per-call.
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": {
"service": "<service>",
"amount_sats": "<amount_sats>",
"client_id": "<client_id>"
},
"name": "request_l402_challenge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | ||
| client_id | Yes | ||
| amount_sats | Yes | ||
| ttl_seconds | No |