restart_compose
Stops and starts a Dokploy compose service to perform a restart; images are not rebuilt, traffic drops between calls, and a failed start leaves the stack stopped.
Instructions
Restart a compose service by stopping it and starting it again.
Dokploy has no single compose restart procedure. Traffic drops between the two calls, and images are not rebuilt. If start fails, the stack is left stopped.
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": {
"compose_id": "<compose_id>"
},
"name": "restart_compose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compose_id | Yes | composeId from list_compose_services or get_project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||