Test Docker Host
testDockerHostTests whether Uptime Kuma can reach a Docker daemon without saving configuration, returning container count on success so you can validate settings before creating or updating a Docker host.
Instructions
Tests whether Uptime Kuma can reach a Docker daemon, without saving anything. On success the message gives the number of containers. Use it before createDockerHost or 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": "testDockerHost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name (used only in the test request) | |
| dockerType | Yes | "socket" for a unix socket path, "tcp" for an HTTP/HTTPS URL | |
| dockerDaemon | Yes | Unix socket path or TCP URL to probe |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| msg | No |