MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / __init__

Method __init__

mini_agent/tools/file_tools.py:215–221  ·  view source on GitHub ↗

Initialize EditTool with workspace directory. Args: workspace_dir: Base directory for resolving relative paths

(self, workspace_dir: str = ".")

Source from the content-addressed store, hash-verified

213 """Edit file by replacing text."""
214
215 def __init__(self, workspace_dir: str = "."):
216 """Initialize EditTool with workspace directory.
217
218 Args:
219 workspace_dir: Base directory for resolving relative paths
220 """
221 self.workspace_dir = Path(workspace_dir).absolute()
222
223 @property
224 def name(self) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected