scan_summary
Scan a directory to summarize total size, file count, and subdirectory count, with support for ignore globs and depth limits, helping you identify cleanup targets.
Instructions
Scan a directory (read-only) to summarize total size, files, dirs. Supports ignore globs and depth limits.
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": "scan_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | Maximum depth to descend (default 10) | |
| maxFiles | No | Limit files recorded for reports (default 50000) | |
| rootPath | Yes | ||
| ignoreGlobs | No | Glob patterns to ignore | |
| includeGlobs | No | Glob patterns to include; if set, only matches are scanned | |
| followSymlinks | No | Whether to follow symlinks (default false) |