ai_longform
Summarize very long documents up to 50K words in a single flat-fee call. Condense lengthy texts without per-word charges.
Instructions
Summarize huge documents (~50K words) in one flat-fee call. [75 sats per call]
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": "ai_longform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| url | No | alternative to text — fetches & summarizes a URL | |
| focus | No | specific focus area (optional) | |
| max_length | No | medium | |
| preimage | No | (L402 mode) Preimage from paid Lightning invoice — only needed if no API key is set | |
| macaroon | No | (L402 mode) Macaroon from the previous 402 challenge |