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

Method __init__

mini_agent/tools/file_tools.py:66–72  ·  view source on GitHub ↗

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

(self, workspace_dir: str = ".")

Source from the content-addressed store, hash-verified

64 """Read file content."""
65
66 def __init__(self, workspace_dir: str = "."):
67 """Initialize ReadTool with workspace directory.
68
69 Args:
70 workspace_dir: Base directory for resolving relative paths
71 """
72 self.workspace_dir = Path(workspace_dir).absolute()
73
74 @property
75 def name(self) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected