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

Method parameters

mini_agent/tools/bash_tool.py:286–307  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

284
285 @property
286 def parameters(self) -> dict[str, Any]:
287 cmd_desc = f"The {self.shell_name} command to execute. Quote file paths with spaces using double quotes."
288 return {
289 "type": "object",
290 "properties": {
291 "command": {
292 "type": "string",
293 "description": cmd_desc,
294 },
295 "timeout": {
296 "type": "integer",
297 "description": "Optional: Timeout in seconds (default: 120, max: 600). Only applies to foreground commands.",
298 "default": 120,
299 },
300 "run_in_background": {
301 "type": "boolean",
302 "description": "Optional: Set to true to run the command in the background. Use this for long-running commands like servers. You can monitor output using bash_output tool.",
303 "default": False,
304 },
305 },
306 "required": ["command"],
307 }
308
309 async def execute(
310 self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected