Winnow lossless context compaction
jev_compactDelete irrelevant log, grep, or diff lines based on a goal, keeping needed lines byte-identical—no summarization, zero cost.
Instructions
Delete irrelevant log/grep/diff lines at $0 cost WITHOUT summarizing: kept lines are byte-identical. File paths, commands, error codes, URLs and diff headers are always preserved.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "jev_compact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Alternative: absolute path of a file to compact. | |
| goal | No | What the context is for (relevance anchor). | |
| text | No | Raw multi-line text to compact. | |
| maxLines | No | Safety valve for huge inputs (default 1500). | |
| keepThreshold | No | Noul keep threshold (default 0.5). |