Docker swarm init
docker_swarm_initInitialize a Docker Swarm cluster by promoting the target Docker host to a swarm manager; provide the advertise address and optionally select a named context.
Instructions
Initialize a swarm (real swarm.init via :meth:init_swarm).
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": {
"advertise_addr": "<advertise_addr>"
},
"name": "docker_swarm_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Explicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt. | |
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| listen_addr | No | ||
| advertise_addr | Yes |