Docker service update
docker_service_updateUpdate an existing container service in place, changing its image or replica count without recreating the service.
Instructions
Update a service in place (real update via :meth:update_service).
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": {
"service_name": "<service_name>"
},
"name": "docker_service_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| replicas | No | ||
| service_name | Yes |