find_largest_directories
Identify directories consuming the most disk space by scanning recursively and sorting by total size, helping you manage storage efficiently.
Instructions
Find the largest directories by total recursive size, sorted by size descending.
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": "find_largest_directories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relative path within the file server root. Empty string for root. | |
| maxResults | No | Maximum results to return (default: 20, max: 100). | |
| maxDepth | No | Maximum depth to traverse (default: 10, max: 10). | |
| exclude | No | Comma-separated glob patterns to exclude (e.g. 'node_modules, *.tmp'). Matching directories are skipped. Supports * and ? wildcards. |