get_block_devices
Lists block devices and partitions with names, sizes, filesystem types, and mount points, skipping loop/ram/zram devices. Use for storage inventory.
Instructions
Returns block devices and partitions: names, sizes, filesystem types, and mount points. Read-only from sysfs and /proc/mounts. Loop, ram, and zram devices are skipped. Errors land in the errors field. Use for storage inventory; get_disk_info for usage percent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| devices | Yes |