config_remove
Remove a Docker swarm config after updating or removing services that reference it. Returns true once deletion succeeds.
Instructions
Remove a swarm config.
Requires a swarm manager, and fails while any service still references the config - update or
remove those services first. The last step of the rotation flow described in config_create.
Returns: bool: True after removal
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": {
"id_or_name": "<id_or_name>"
},
"name": "config_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |