Compact a block of text
squeeze_textCompacts long logs, stack traces, or other text into a concise summary without running commands, preserving errors and key details within a configurable line budget.
Instructions
Compacts a log, stack trace or other long text the same way run does, without running anything.
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": "squeeze_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to compact. | |
| budget_lines | No | Most lines to return. |