Tool Output Summarization: Keep Context Small, Keep Decisions Sharp in Agentic AI
Tool Output Summarization: Keep Context Small, Keep Decisions Sharp
Why raw outputs hurt reasoning
Raw outputs (HTML, long JSON, logs) are token-heavy and distracting. Summarization creates a “clean observation” layer that improves next-step decisions.
Summarize for decision-making, not for beauty
Good summaries include:
- Key facts
- Uncertainties
- Next decision points
- Evidence references (IDs, URLs)
Structured summaries
Use a small JSON format:
{"facts":[], "unknowns":[], "next":[], "evidence":[]}
Store summaries
Store the summary in memory/logs and keep the raw payload in storage for debugging.

