Home / Class/ BetaMemoryTool20250818StrReplaceCommand Class — anthropic-sdk-python Architecture

BetaMemoryTool20250818StrReplaceCommand Class — anthropic-sdk-python Architecture

Architecture documentation for the BetaMemoryTool20250818StrReplaceCommand class in beta_memory_tool_20250818_str_replace_command.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  14cbbcfe_c9ae_607c_2d7d_5a0135830be7["BetaMemoryTool20250818StrReplaceCommand"]
  17ce5647_6f06_0676_a4a5_e378a3f57cb1["BaseModel"]
  14cbbcfe_c9ae_607c_2d7d_5a0135830be7 -->|extends| 17ce5647_6f06_0676_a4a5_e378a3f57cb1
  90b852e9_8886_4a0b_2b7f_05601b56ef2b["beta_memory_tool_20250818_str_replace_command.py"]
  14cbbcfe_c9ae_607c_2d7d_5a0135830be7 -->|defined in| 90b852e9_8886_4a0b_2b7f_05601b56ef2b

Relationship Graph

Source Code

src/anthropic/types/beta/beta_memory_tool_20250818_str_replace_command.py lines 10–21

class BetaMemoryTool20250818StrReplaceCommand(BaseModel):
    command: Literal["str_replace"]
    """Command type identifier"""

    new_str: str
    """Text to replace with"""

    old_str: str
    """Text to search for and replace"""

    path: str
    """Path to the file where text should be replaced"""

Extends

Frequently Asked Questions

What is the BetaMemoryTool20250818StrReplaceCommand class?
BetaMemoryTool20250818StrReplaceCommand is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/beta/beta_memory_tool_20250818_str_replace_command.py.
Where is BetaMemoryTool20250818StrReplaceCommand defined?
BetaMemoryTool20250818StrReplaceCommand is defined in src/anthropic/types/beta/beta_memory_tool_20250818_str_replace_command.py at line 10.
What does BetaMemoryTool20250818StrReplaceCommand extend?
BetaMemoryTool20250818StrReplaceCommand extends BaseModel.

Analyze Your Own Codebase

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

Try Supermodel Free