distill_logs
Filter and compress raw logs to retain startup context, shutdown state, and error traces while removing repetitive status messages.
Instructions
Filter and compress raw logs by preserving startup context, shutdown state, and matching error traces while omitting large blocks of repetitive status messages.
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": {
"log_text": "<log_text>"
},
"name": "distill_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_text | Yes | ||
| keep_head | No | ||
| keep_tail | No | ||
| error_patterns | No | ||
| dedup | No | ||
| token_budget | No |