get_invoice
Generate a Lightning invoice to access Giskard Oasis. With agent ID and valid signature, price reduces according to karma tier.
Instructions
Get a Lightning invoice to access Giskard Oasis.
agent_id: your identity in Giskard Marks (optional). High karma = lower price.
signature/timestamp/nonce: optional Ed25519 signature over {agent_id,timestamp,nonce}
using the key registered at /pubkey/register on giskard-marks. Without a valid
signature you pay the base price (21 sats). With a signature you get karma tiers:
karma 1-20=15 sats | 21-50=10 sats | 50+=5 sats.Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | No | ||
| agent_id | No | ||
| signature | No | ||
| timestamp | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |