Create Docker Host
createDockerHostCreates a Docker daemon connection for Uptime Kuma Docker monitors via Unix socket or TCP URL; test it first because it is saved without validation.
Instructions
Creates a Docker daemon connection; docker monitors take the returned ID in their docker_host field. Pass dockerType "socket" with a socket path, or "tcp" with a URL such as http://host:2375 (for example a docker-socket-proxy). The connection is saved without being checked, so call testDockerHost first. To change one use updateDockerHost.
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": {
"name": "<name>",
"dockerType": "<dockerType>",
"dockerDaemon": "<dockerDaemon>"
},
"name": "createDockerHost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for this docker host | |
| dockerType | Yes | "socket" for a unix socket path, "tcp" for an HTTP/HTTPS URL | |
| dockerDaemon | Yes | Unix socket path (e.g. /var/run/docker.sock) when dockerType=socket, or TCP URL (e.g. http://docker-proxy:2375) when dockerType=tcp |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | Yes | ||
| msg | No |