Disk usage
duMeasure disk usage for specified paths and return path-size pairs, with maxDepth controlling summary depth for structured CLI output.
Instructions
Show disk usage for paths. Returns entries as [path, sizeBytes] pairs, in the order du emits them. Use maxDepth to control how deep the summary goes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to measure | |
| maxDepth | No | Depth to summarize |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | ||
| retained | No |