Summarize text API: short summary and key points from any text
ai_summarizeSummarize text with an LLM: send up to 12,000 characters and get a short summary plus bullet key points. Use for long emails, articles, transcripts, meeting notes and tool outputs; for a web page by URL use /summarize. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
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, up to 12,000 characters | |
| sentences | No | Summary length in sentences, 1-8 (default 3) |