Summary

Instead of losing tool output when it exceeds the model context, the SDK stores the complete result in a per-session cache and exposes a cline://cache URI. Agents can retrieve the remaining content by line range, with session-level size and expiry limits.

Why it matters

Large tool responses are a common reliability failure in agent workflows; this change preserves evidence without injecting the entire payload into every model turn.

Sources