redcon_budget
Plan how to fit selected files under a token budget by choosing a compression strategy per file, then get per-file token costs, strategies, and which files to drop.
Instructions
Plan how to fit a set of files under a token budget, choosing a compression strategy per file. Use before reading several files at once; returns per-file token costs, strategies, and which to drop.
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": {
"files": "<files>",
"task": "<task>",
"max_tokens": "<max_tokens>"
},
"name": "redcon_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | . | |
| task | Yes | Task description | |
| files | Yes | Relative paths of files to fit | |
| max_tokens | Yes | Total token budget |