Scan Path
scan_pathScans a drive or folder using WizTree and exports a CSV snapshot of file and folder sizes, including optional filters and treemap.
Instructions
Run WizTree CSV export for a drive or folder. This is read-only and writes a CSV snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetPath | Yes | Drive or folder to scan, such as "C:" or "D:\Data". | |
| wiztreePath | No | Optional explicit path to WizTree64.exe or WizTree.exe. | |
| includeFiles | No | Include file rows in the export. | |
| includeFolders | No | Include folder rows in the export. | |
| admin | No | Pass /admin=1 to WizTree. May trigger Windows elevation. | |
| filter | No | Optional WizTree include filter, such as "*.mp4". | |
| filterExclude | No | Optional WizTree exclude filter, such as "node_modules". | |
| sortBy | No | Optional WizTree sort option, such as "size". | |
| treemap | No | Also export a 1024x768 treemap PNG beside the CSV. | |
| timeoutSeconds | No |