Expand description
Output persistence for large tool results.
When a tool produces output larger than the inline threshold, it’s persisted to disk and a reference is returned instead. This prevents large outputs from bloating the context window.
Functions§
- cleanup_
old_ outputs - Clean up old persisted outputs (older than 24 hours).
- persist_
if_ large - Persist large output to disk and return a summary reference.
- read_
persisted - Read a persisted output by tool_use_id.