top_dirs
Find directories consuming the most disk space under a root path by aggregate file size, enabling quick cleanup target identification.
Instructions
Heaviest directories under root (by aggregate file size).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rootPath": "<rootPath>"
},
"name": "top_dirs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| maxDepth | No | ||
| maxFiles | No | ||
| rootPath | Yes | ||
| ignoreGlobs | No | ||
| includeGlobs | No |