get_server_health
Retrieve Docker host health for the Dokploy host or a specified server, with an optional 1–168 hour window to inspect recent health status.
Instructions
Get Docker host health. Omit server_id for the Dokploy host itself.
since_hours is 1-168 when you want a window. This uses docker.getServerHealth. server.getServerMetrics is not wrapped: it requires a monitoring URL and token the OpenAPI spec does not explain how to derive.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_server_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | No | ||
| since_hours | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||