orbstack_stop
Stop all running Docker containers and Linux virtual machines managed by OrbStack on macOS. Use this tool to halt active services and free system resources.
Instructions
停止 OrbStack 服务。
这将停止所有运行中的容器和 Linux 机器。
Returns: str: 停止结果
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/orbstack_mcp/server.py:355-367 (handler)The handler function for the `orbstack_stop` tool, which executes the `orb stop` command.
async def orbstack_stop() -> str: """停止 OrbStack 服务。 这将停止所有运行中的容器和 Linux 机器。 Returns: str: 停止结果 """ code, stdout, stderr = await _run_orb(["stop"]) if code != 0: return _format_error(stderr) return "OrbStack 已停止" + (f"\n{stdout}" if stdout else "") - src/orbstack_mcp/server.py:345-353 (registration)Registration of the `orbstack_stop` tool using the @mcp.tool decorator.
@mcp.tool( name="orbstack_stop", annotations={ "title": "停止 OrbStack", "readOnlyHint": False, "destructiveHint": False, "idempotentHint": True, "openWorldHint": False, },