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

Method parameters

mini_agent/tools/file_tools.py:179–193  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

177
178 @property
179 def parameters(self) -> dict[str, Any]:
180 return {
181 "type": "object",
182 "properties": {
183 "path": {
184 "type": "string",
185 "description": "Absolute or relative path to the file",
186 },
187 "content": {
188 "type": "string",
189 "description": "Complete content to write (will replace existing content)",
190 },
191 },
192 "required": ["path", "content"],
193 }
194
195 async def execute(self, path: str, content: str) -> ToolResult:
196 """Execute write file."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected