Home / Function/ clear_all_memory() — anthropic-sdk-python Function Reference

clear_all_memory() — anthropic-sdk-python Function Reference

Architecture documentation for the clear_all_memory() function in _beta_builtin_memory_tool.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  76b718ed_c4f0_55dc_ec46_843808a9ff25["clear_all_memory()"]
  a0c776a7_63ce_9752_6068_14794f180e7d["BetaAsyncAbstractMemoryTool"]
  76b718ed_c4f0_55dc_ec46_843808a9ff25 -->|defined in| a0c776a7_63ce_9752_6068_14794f180e7d
  b1b5cc7e_a9e3_5be0_d6e0_77754fa5e6c7["clear_all_memory()"]
  b1b5cc7e_a9e3_5be0_d6e0_77754fa5e6c7 -->|calls| 76b718ed_c4f0_55dc_ec46_843808a9ff25
  b1b5cc7e_a9e3_5be0_d6e0_77754fa5e6c7["clear_all_memory()"]
  76b718ed_c4f0_55dc_ec46_843808a9ff25 -->|calls| b1b5cc7e_a9e3_5be0_d6e0_77754fa5e6c7
  style 76b718ed_c4f0_55dc_ec46_843808a9ff25 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/lib/tools/_beta_builtin_memory_tool.py lines 243–245

    async def clear_all_memory(self) -> BetaFunctionToolResultType:
        """Clear all memory data."""
        raise NotImplementedError("clear_all_memory not implemented")

Subdomains

Called By

Frequently Asked Questions

What does clear_all_memory() do?
clear_all_memory() is a function in the anthropic-sdk-python codebase, defined in src/anthropic/lib/tools/_beta_builtin_memory_tool.py.
Where is clear_all_memory() defined?
clear_all_memory() is defined in src/anthropic/lib/tools/_beta_builtin_memory_tool.py at line 243.
What does clear_all_memory() call?
clear_all_memory() calls 1 function(s): clear_all_memory.
What calls clear_all_memory()?
clear_all_memory() is called by 1 function(s): clear_all_memory.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free