disks/free
Check disk space usage for a specific path, showing used and available blocks in bytes or human-readable format. Get filesystem statistics for any absolute path.
Instructions
Returns disk space statistics of the filesystem holding a path, like df - in bytes, or like df -h with human_readable. Use disks/list to see all block devices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to check | |
| inodes | No | List inode information instead of block usage (-i) | |
| privileged | No | Set to true to run as root | |
| output_format | No | Desired output format (e.g. json, yaml, table, wide). Defaults to text | |
| human_readable | No | Sizes like 53.2 GiB (df -h); default is bytes |