Nothing sent yet.window empty, budget 8,000 tokens
Chapter 5 of 7
Clearing the desk
Mara’s conversation runs to three questions, and each search leaves its results in the history. By the third question, most of the window is old search results.
This chapter: What can the assistant drop from a long conversation without losing what matters?
You will learn
- Clearing old tool results and keeping the latest
- How clearing compares with one summary of the history
- Why clearing costs a cache write
Words you’ll meet (3)
- Tool result
- What the host sends back after a tool call, such as the passages a search found.
- Clearing
- Replacing an old tool result with a short placeholder, so the window keeps that a search happened but not its text.
- Summary
- The history replaced by a few lines that keep the decisions.
The picture on the left is live. Each step below asks you to do one thing in it; the story continues here as you go.
Step 1 of 5
Mara Quill asks 3 questions in one conversation, and the assistant searches for each, as in chapter 3. Every search leaves its results in the history, and the history is sent again with every call. Send the conversation and watch the window grow.