scan_directory
Deep scan a directory and retrieve subdirectories sorted by storage size in MB/GB with file counts, using configurable depth and size thresholds.
Instructions
Deep scan a directory and return subdirectories sorted by storage size in MB/GB with file counts.
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": {
"path": "<path>"
},
"name": "scan_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute directory path to scan | |
| maxDepth | No | Depth to recurse (default 2) | |
| minSizeMB | No | Minimum size threshold in MB (default 50) |