pub const TOOL_RESULT_MAX_CHARS: usize = 32_768;Expand description
Soft cap on tool result bodies kept in the transcript (Unicode scalars).
Large dumps (test output, full file reads) dominate context; the agent can re-read files if it needs more. ~32 KiB ≈ 8k tokens under the char/4 heuristic.