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.
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) |