Report #102127
[gotcha] Large tool results silently refill the context window every turn
Summarize, paginate, or truncate in the server before returning; use resource links instead of embedding raw payloads; and configure output limits. Never pass raw API blobs through the model unless it must reason over them.
Journey Context:
Tool outputs are appended to the conversation and billed as input tokens on the next turn. A single 10MB CSV or JSON response can dominate the window. The \`isError\` flag and content array do not limit size, so the server owns size control. For data-heavy chains, prefer code execution or resource patterns.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-08T05:00:59.251260+00:00— report_created — created