[Question/Bug] Context compaction silently unmounts container tools & tool_search (Per-turn reconstruction issue) #782
Unanswered
whitepoohkim-byte
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
Context & Environment:
Across multiple long, compacted conversations using Claude Desktop and MCP, I am observing a critical issue where post-compaction turns expose a small, turn-varying tool set.
The Issue:
After context compaction occurs, basic container tools (e.g.,
bash,view,str_replace,create_file,present_files), document readers, web tools, and critically,tool_search, are completely unmounted.However, specific external MCP tools (for example, Room A = 8 Notion tools; Room B = 7 Notion + 5 custom tools including 3 chain_* tools NOT present in earlier turns) successfully survive and remain mounted.
Key Observations:
tool_search(the only in-room recovery path) is also unmounted, in-room reload-recovery becomes impossible.Questions for the Team:
tool_searchalso unmounted? Removing the search tool effectively destroys the user's only path to recover the lost container tools.Any insights regarding how tool definitions are handled during compaction would be highly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions