Text summarize
text_summarizeSummarize articles, docs, or transcripts into concise bullets, a paragraph, or a 1-sentence TL;DR via Llama 3.1 8B Fast AI. $0.001 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for terms, then call again with payment.
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": {
"text": "<text>"
},
"name": "text_summarize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Source text to summarize (40 to 16000 characters). | |
| style | No | Optional style: bullets (default), paragraph, or tldr. | |
| payment | No | signed x402 payment payload (PAYMENT-SIGNATURE). | |
| max_words | No | Optional target maximum word count (20 to 300, default 100). |