update_stack
Redeploy a Docker stack from a compose YAML, recreating containers and causing brief downtime. Requires confirmation; existing environment settings are preserved.
Instructions
Redeploy a stack with the given compose YAML. DESTRUCTIVE: recreates containers (brief downtime). Requires confirm=True. Existing Env is preserved automatically.
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": {
"stack_id": "<stack_id>",
"compose": "<compose>"
},
"name": "update_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compose | Yes | ||
| confirm | No | ||
| stack_id | Yes |