disk_usage
Show what takes up disk space in a folder without changing anything: the size of each item directly inside it, largest first, and the folder's total (allocated space, as du counts it). Call it again on a large item to look inside. A very large folder may stop after 90 seconds with complete: false and the items finished by then.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Folder to measure, such as ~ or ~/Library | ~ |
| limit | No | How many of the largest items to list | |
| deviceId | No | Computer name or id from list_devices. Optional with one computer online or a default set. | |
| workSessionId | No | Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work. |