stack_list
List all stacks deployed to a Docker swarm, returning each stack's name, service count, and orchestrator. Use it to review active swarm deployments.
Instructions
List the stacks deployed to the swarm, parsed from --format '{{json .}}'.
Requires the target daemon to be a swarm manager. compose_list is the non-swarm equivalent;
drill into one stack with stack_services.
Raises RemoteFailureError if the CLI call fails.
Returns: list: One dict per stack (name, services count, orchestrator)
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": "stack_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||