disk_usage
Show what takes up disk space in a folder without changing anything, on Mac, Windows and Linux: the size of each item directly inside it, largest first, the folder's total, and the free and total space of its drive (volume). 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.
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 | Folder to measure, such as ~ or ~/Library | ~ |
| limit | No | How many of the largest items to list | |
| deviceId | No | Computer name or id | |
| workSessionId | No | From create_work_session |