Docker swarm leave
docker_swarm_leaveLeave a Docker Swarm cluster, optionally forcing removal and confirming the destructive operation when client prompts are unavailable.
Instructions
Leave the swarm (real swarm.leave via :meth:leave_swarm).
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": "docker_swarm_leave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| 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. |