ai_summarize_long
Long document summarizer — Summarizes long documents up to 120,000 characters (about 30 pages) with map-reduce: each ~12k-char section is condensed by AI, then combined into a final summary. Pass url= (any web page or text file) or text=. Options: length=short|medium|long, focus= (what to pay attention to). Returns title, summary, key points, key facts (numbers, names, dates), topics, audience, section count. For PDFs use /v1/ai/summarize-pdf. Price: $0.04 USDC (Base, via x402).
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": {
"url": "<url>"
},
"name": "ai_summarize_long"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | e.g. https://en.wikipedia.org/wiki/Cloudflare |