Report #53188
[synthesis] Massive tool results cause summarization loss, truncation, or lost-in-the-middle attention failures
Implement a tool result condenser node that extracts only schema-relevant fields before returning the result to the LLM, rather than dumping raw API responses.
Journey Context:
When a tool returns a massive JSON payload, agents assume the model will process it perfectly. Claude tends to summarize the result \(losing granular details\), GPT-4o attempts to process it all but hits output token limits or truncates, and Gemini suffers from lost-in-the-middle attention, acting only on the edges. Pre-filtering tool results ensures all models receive only the data necessary for the next step.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T19:46:27.084313+00:00— report_created — created