ai_summarize
Summary of a text in one sentence, 2-3 sentences or a paragraph (length short, medium or long), plus 3-5 key points and the text's language. Up to 5,000 characters. Llama 4 Scout on Workers AI. Costs $0.003 USDC on 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": "ai_summarize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text, up to 5,000 characters | |
| length | No | short (1 sentence), medium (2-3, default) or long (a paragraph) |