Summarize text
Summarize up to 12,000 characters of text you send into a few sentences plus bullet key points. Use for long emails, documents, transcripts and tool outputs (for a web page by URL, use /summarize).
Inputs
| Name | Type | Description |
|---|---|---|
text (required) | string | Text to summarize, up to 12,000 characters |
sentences | integer | Summary length in sentences, 1-8 (default 3) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/ai/summarize-text?text=x402%20is%20an%20open%20protocol%20for%20internet-native%20payments.%20A%20server%20answers%20402%20Payment%20Required%20with%20the%20price%3B%20the%20client%20pays%20in%20stablecoins%20and%20retries.%20No%20accounts%20or%20API%20keys%20are%20needed."
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/ai/summarize-text?text=x402%20is%20an%20open%20protocol%20for%20internet-native%20payments.%20A%20server%20answers%20402%20Payment%20Required%20with%20the%20price%3B%20the%20client%20pays%20in%20stablecoins%20and%20retries.%20No%20accounts%20or%20API%20keys%20are%20needed.&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum, Monad, World Chain or Tempo) and retries.
Example result
{
"summary": "x402 lets clients pay per request with stablecoins after a 402 challenge, without accounts.",
"keyPoints": [
"Server returns 402 with the price",
"Client pays and retries"
],
"model": "@cf/meta/llama-3.1-8b-instruct-fp8"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is ai_summarize_text, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp