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

Method __init__

mini_agent/tools/file_tools.py:158–164  ·  view source on GitHub ↗

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

(self, workspace_dir: str = ".")

Source from the content-addressed store, hash-verified

156 """Write content to a file."""
157
158 def __init__(self, workspace_dir: str = "."):
159 """Initialize WriteTool with workspace directory.
160
161 Args:
162 workspace_dir: Base directory for resolving relative paths
163 """
164 self.workspace_dir = Path(workspace_dir).absolute()
165
166 @property
167 def name(self) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected