Built-incontext management
Tool Result Clearing
Tool Result Clearing
A light touch form of compaction where the raw results of previous tool calls (like long terminal outputs) are cleared to save space.
Related Articles
Anthropic
Context Windows
Claude API Documentation
Anthropic
Long Context Window Tips
Comprehensive guide to prompt engineering techniques for Claude's latest models, covering clarity, examples, XML structuring, thinking, and agentic systems.
Google AI
Long Context
Learn about how to get started building with long context (1 million context window) on Gemini.
Built-in
Progressive Disclosure
Instead of loading an entire codebase—which would immediately overwhelm the attention budget—modern agents use JIT context. The assistant dynamically loads only the necessary data at runtime.