text_summary
Summarize text to a specified maximum length using truncation or sentence extraction.
Instructions
Summarize or truncate text to a maximum length.
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_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to summarize | |
| max_length | No | Maximum length (default: 500) | |
| method | No | Method to use - 'truncate' or 'sentences' (default: truncate) | truncate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |