Overview
Tool results can be much larger than the information needed for the next step.
A browser screenshot analysis may produce a long description. A command may return thousands of lines. A research tool may retrieve a large document. A subagent may generate a detailed report.
The system can preserve a concise summary of the result while storing the full output in a file or other retrievable location.
A useful summary should contain:
- What action was taken.
- What result matters.
- What changed.
- What remains unresolved.
- Where the full output is stored.
The agent can then continue with a smaller active context and retrieve the full material only if necessary.