slimctx_compress
Compress large tool output, logs, JSON, or file content before reasoning. Preserves errors, outliers, and query-relevant details, with optional retrieval of the original.
Instructions
Compress large tool output, logs, JSON, or file content before reasoning over it. Returns a compact version that preserves errors, outliers, and query-relevant content. If the result contains a [slimctx-ref ...] marker, the full original can be recovered with slimctx_retrieve.
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": "slimctx_compress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Content to compress | |
| query | No | What you are looking for (steers relevance) |