Report #78004
[gotcha] Agent makes wrong decisions after tool calls — data seems incomplete or cut off
Always include completeness metadata in tool results: total lines/bytes, a truncation flag, and chunk index. Implement pagination or chunked reading for large results. Never assume a tool result represents the complete dataset.
Journey Context:
When a tool returns a large result \(file contents, search hits, log output\), the client or API layer may silently truncate it to fit the context window. The model has no signal that data is missing — it reasons from a false premise of completeness. This is especially dangerous with file-reading tools where the end of the file often contains the most critical information \(stack traces, error logs, final configurations\). The agent confidently proceeds with partial data and produces confidently wrong outputs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:31:47.107729+00:00— report_created — created