get_disk
Retrieve full health and S.M.A.R.T. details for one Synology disk, including attributes, test results, 12-month trends, warnings, and write-cache status.
Instructions
Get one disk's full health: everything list_disks shows, every S.M.A.R.T. attribute (current, worst, threshold, raw value, status), the last quick and extended S.M.A.R.T. test results, recent test history, the 12-month trend of bad sectors, retries and SSD remaining life, any S.M.A.R.T. warnings, and its write-cache setting. Needs a DSM administrator account.
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": {
"disk": "<disk>"
},
"name": "get_disk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disk | Yes | The disk's ID (`sda`), device (`/dev/sda`) or bay name (`Drive 1`), as list_disks shows it. | |
| history_limit | No | How many recent test-history entries to show (1–100). |