summarize
summarizeSummarize long text into a tight, faithful summary. Input: text (up to 40k chars), optional max_words and language. Costs $0.03 USDC per call (x402 v2, Base or Solana). Send the HTTP header PAYMENT-SIGNATURE with your x402 payment, or call POST https://tolca.tonbot.ca/v1/summarize with an x402 client.
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": "summarize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to summarize (up to 40,000 characters) | |
| language | No | Language of the summary: auto (same as the text), en or fr | |
| max_words | No | Maximum length of the summary in words (20 to 1,000) |