get_disk_info
Retrieve disk usage per mounted partition. Filter by mount point or usage threshold to pinpoint partitions at capacity and plan storage.
Instructions
Returns disk usage per mounted partition. Params: mount_point (exact match, must start with /) and threshold (only partitions at or above it). Read-only via statfs. Fatal only if partitions cannot be listed; per-partition read errors are skipped. Use for capacity; get_inode_usage when 'disk full' persists with free space.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | optional threshold filter (e.g. 80 means only partitions >=80% used) | |
| mount_point | No | optional mount point filter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| partitions | Yes |