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
  b1b5cc7e_a9e3_5be0_d6e0_77754fa5e6c7["clear_all_memory()"]
  d2acad16_3d69_9ffc_b385_3f353b4288f2["BetaAbstractMemoryTool"]
  b1b5cc7e_a9e3_5be0_d6e0_77754fa5e6c7 -->|defined in| d2acad16_3d69_9ffc_b385_3f353b4288f2
  76b718ed_c4f0_55dc_ec46_843808a9ff25["clear_all_memory()"]
  76b718ed_c4f0_55dc_ec46_843808a9ff25 -->|calls| b1b5cc7e_a9e3_5be0_d6e0_77754fa5e6c7
  76b718ed_c4f0_55dc_ec46_843808a9ff25["clear_all_memory()"]
  b1b5cc7e_a9e3_5be0_d6e0_77754fa5e6c7 -->|calls| 76b718ed_c4f0_55dc_ec46_843808a9ff25
  style b1b5cc7e_a9e3_5be0_d6e0_77754fa5e6c7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/lib/tools/_beta_builtin_memory_tool.py lines 130–132

    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 130.
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