compose_up
Start Docker Compose services for a project, optionally building images or targeting specific services, to launch multi-container applications.
Instructions
Start Compose services (docker compose up).
Recovery: If build fails, fix Dockerfile/context; if ports conflict, edit compose or stop conflicting services.
Idempotency: Re-running up is generally safe; may recreate containers per compose semantics.
Return Format
{"success": bool, "action": str, "message": str, "result": {"output": str, "stderr": str}} On failure: {"success": false, "error": str, "recovery_options": [...]}
Examples
compose_up(path="D:/dev/myapp") compose_up(path="D:/dev/myapp", services=["web", "db"], build=True)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compose_up"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| build | No | ||
| scale | No | ||
| detach | No | ||
| timeout | No | ||
| services | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||