text_summarize
Text summarizer (Workers AI) — Summarize arbitrary text into a concise summary. POST {text, sentences?}. Runs Llama on Workers AI. JSON. Price: $0.008 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": {
"text": "<text>"
},
"name": "text_summarize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | text to summarize | |
| sentences | No | optional target sentence count (default 3) |