compose_restart
Restart Docker Compose services in a stack. Specify services or path to restart all, with configurable timeout.
Instructions
Restart Docker Compose services. Restart specific services or the entire stack.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "compose_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to docker-compose.yml file or its parent directory | |
| services | No | Specific services to restart (empty = all) | |
| timeout | No | Shutdown timeout in seconds (default: 10) |