Get UPS Status
ups_statusRead live UPS telemetry from apcupsd—operational status, battery charge, estimated runtime, and power load/voltage—and report unavailable data as 'no live UPS data' instead of an error.
Instructions
Read-only. Live UPS telemetry from apcupsd: operational status (passed through verbatim from apcaccess — e.g. ONLINE, ONBATT, LOWBATT, COMMLOST), battery charge and estimated runtime, and power load/voltage. When apcaccess returns nothing (apcupsd stopped, no UPS attached, or a NUT-managed UPS — the Unraid API reads apcupsd only) this tool reports 'no live UPS data' instead of an error; when apcupsd reports a device without identity the API returns placeholder values, reported the same way rather than as a healthy UPS, and battery/power values may be upstream defaults when apcaccess data is incomplete. Reachable by any authenticated key (no special permission).
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": "ups_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | `detailed` returns full JSON instead of readable text. | concise |