ai_summarize
Summarize text (up to 6,000 characters) into a chosen number of sentences or bullet points, in the same language as the input (English, Indonesian and others), using an open Llama model. Returns the summary only; does not follow instructions found inside the text. Price $0.01 USDC per call (x402, Base).
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": "ai_summarize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to summarize (max 6000 chars) | |
| style | No | Output style, default paragraph | |
| sentences | No | 1-8, default 3 |