tokendiet_compress_session
Compress multi-turn coding-agent traces by deduplicating repeated cross-turn reads, pruning logs, and skeletonizing code while preserving error anchors and AST validity.
Instructions
Compress a multi-turn coding-agent trace using C++20 cross-turn read deduplication, log pruning, and AST skeletonization.
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": {
"turns": "<turns>"
},
"name": "tokendiet_compress_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| turns | Yes | ||
| focus_symbols | No | ||
| log_budget_tokens | No |