get_smart_health
Check SMART disk health for a given drive or all devices, reporting status, temperature, power-on hours, and key attributes to identify failing disks before data loss.
Instructions
Returns SMART disk health: status, temperature, power-on hours, and key attributes via smartctl. device is optional; empty probes all block devices, which is slow with many disks. Requires smartctl and typically root to read /dev. Per-device failures set status to unknown in the errors field; only a missing smartctl is fatal.
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_smart_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | optional device name (e.g. sda, nvme0n1). If empty, checks all devices |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| devices | Yes |