tool-output-budget
Truncate oversized tool output so it does not blow the agent's context window.
USE WHEN: tool output > 3000 tokens, line > 500 chars, large log, JSON array, minified code, fetched HTML, verbose npm/cargo/test output, cat of a big file, "truncated" / "output cut off" / "use offset to read more" message.
TRIGGER PHRASES: "输出太长", "context 满了", "log 太大", "截断", "truncate", "output cut off", "读不完", "太大了", "context 撑爆", "too long".
SKIP WHEN: output is small (<100 lines), output is the user-facing final answer, output is structured and needs full parse (read once with a guard).
- Version
- 0.1.1
- License
- Apache-2.0
- Compatibility
- Requires MiniMax Code with Agent Plugins 1.0 support.
Pinned to revision 6481e4ae1e03, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.