Update Docker Host
updateDockerHostUpdate an existing Docker host connection in Uptime Kuma by changing only the fields you pass. Use it to rename a host, switch its connection type, or set a new socket path or TCP URL.
Instructions
Updates an existing Docker daemon connection. Only the fields you pass change. Credentials in a dockerDaemon URL sent back as "***" keep their stored value. Check a new address with testDockerHost first. Find the ID with listDockerHosts.
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": {
"dockerHostID": "<dockerHostID>"
},
"name": "updateDockerHost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New human-readable name | |
| dockerType | No | New connection type | |
| dockerDaemon | No | New socket path or TCP URL | |
| dockerHostID | Yes | The ID of the docker host to update |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | Yes | ||
| msg | No |