Report #1809
[gotcha] Large tool results get silently truncated — model reasons on incomplete data without knowing
Always wrap tool results with metadata: include a truncation marker \(e.g., '\[RESULT TRUNCATED: showing 500 of 14,200 lines\]'\) and total-size field; cap individual tool result payloads at a sane threshold \(e.g., 8K tokens\); implement pagination or offset/limit params on tools that return large datasets.
Journey Context:
When a tool returns a 50K-token file read or search result, the context window can't hold it. Truncation happens at the infrastructure/client layer — the model never receives a signal that data was cut. It then confidently draws conclusions about 'what's not in the file' when the content simply wasn't shown. This is especially insidious with code-search or file-read tools where the answer is in the truncated tail. The model won't ask for the rest because it doesn't know there IS a rest. Explicit truncation markers let the model reason about incompleteness and request more data.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T08:31:55.512674+00:00— report_created — created