disk_usage
Check disk space and inode usage by filesystem or mount point to prevent disk-full outages. Excludes virtual filesystems for clarity, with optional path and human-readable sizes.
Instructions
Show disk space usage by filesystem/mount point. Includes both space and inode usage. Excludes virtual filesystems (tmpfs, devtmpfs) for clarity. Essential for preventing disk-full outages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "disk_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Specific mount point or path to check. Omit to show all filesystems. | |
| human | No | Show sizes in human-readable format (default true). |