Improving Cache Management: Handling Tool Removal in Active Conversations

I noticed that with the introduction of caching, even when a function is removed from the tools, the system continues to manage it. Would it be possible to apply hashing to the tools section as well? It could happen that, in ongoing conversations with the same context, it becomes necessary to remove a specific function.