disks/list
Lists block devices as a tree, showing disks, partitions, LVM/dm-crypt/RAID volumes, and mount points to inspect storage topology.
Instructions
Lists block devices as a tree (equivalent to lsblk): disks, their partitions, and LVM/dm-crypt/RAID volumes nested under the devices they're built on, with MAJ:MIN, RM, SIZE, RO, TYPE and MOUNTPOINTS. json/yaml output is the same tree under "blockdevices" (like lsblk -J), with nested "children". To check remaining free space or inode usage, use the disks/free tool. To check which folders are taking up the most space, use the disks/usage tool. (Use 'privileged: true' in containerized deployments to see the host's mount points.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Include empty devices and RAM disks (lsblk -a) | |
| privileged | No | Run as root - in containerized deployments, reads the host's mount table for MOUNTPOINTS | |
| output_format | No | Desired output format (e.g. json, yaml, table, wide). Defaults to text | |
| human_readable | No | SIZE like lsblk (60G); default is bytes (lsblk -b) |