manage_stack
Operate on existing Docker stacks: start, stop, restart, remove, or view logs.
Instructions
Perform operations on existing stacks
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_name": "<stack_name>",
"action": "<action>"
},
"name": "manage_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Operation to perform (start, stop, restart, remove, logs) | |
| stack_name | Yes | Name of the stack | |
| tail_lines | No | Number of log lines to show | |
| follow_logs | No | Follow log output (for logs action) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||