du
Analyze disk usage for a directory tree, showing size breakdowns per subdirectory and top N largest folders. Identify which subdirectories consume the most space.
Instructions
Show disk usage for a directory tree, broken down by subdirectory.
Wraps Sysinternals DU. Uses verbose (-v) output for per-directory breakdown.
Return Format
{"success": bool, "directories": list[dict], "total": dict, "error": str | None}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path to analyze | |
| n_children | No | Show top N subdirectories by size (-n) | |
| accept_eula | No | Accept EULA (stored once) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||