Docker stack services
docker_stack_servicesLists the services in a specified Docker stack using docker stack services, with optional context selection for multi-context Docker environments.
Instructions
List a stack's services via docker stack services (no SDK).
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>"
},
"name": "docker_stack_services"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| stack_name | Yes |