service_remove
Remove a Docker Swarm service permanently, deleting its definition and terminating all associated tasks. Requires a swarm manager and cannot be undone.
Instructions
Stop and remove a swarm service.
Requires a swarm manager. Deletes the service definition and shuts down its tasks — no
confirmation, no undo. To stop work but keep the definition, service_scale to 0 replicas.
args: id_or_name - The service id or name returns: bool - True after the service is removed
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |