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

delete() — anthropic-sdk-python Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d4a60127_6116_899b_7836_1244f71efe18["delete()"]
  d2acad16_3d69_9ffc_b385_3f353b4288f2["BetaAbstractMemoryTool"]
  d4a60127_6116_899b_7836_1244f71efe18 -->|defined in| d2acad16_3d69_9ffc_b385_3f353b4288f2
  style d4a60127_6116_899b_7836_1244f71efe18 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/lib/tools/_beta_builtin_memory_tool.py lines 121–123

    def delete(self, command: BetaMemoryTool20250818DeleteCommand) -> BetaFunctionToolResultType:
        """Delete a memory file or directory."""
        pass

Subdomains

Frequently Asked Questions

What does delete() do?
delete() is a function in the anthropic-sdk-python codebase, defined in src/anthropic/lib/tools/_beta_builtin_memory_tool.py.
Where is delete() defined?
delete() is defined in src/anthropic/lib/tools/_beta_builtin_memory_tool.py at line 121.

Analyze Your Own Codebase

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

Try Supermodel Free