scan_workspace
Scan a developer workspace to locate reclaimable artifacts, caches, virtualenvs, and exposed secret files, returning a structured report with sizes and categories.
Instructions
Scan a developer workspace for reclaimable artifacts, build files, virtualenvs, caches, and secret files.
Args: path: Root directory to scan (defaults to current directory). max_depth: Max directory traversal depth (default: 6). artifact_types: Optional list of specific types to filter: ['node_modules', 'python_venv', 'python_cache', 'build_artifact', 'temp_logs', 'env_secret']. min_size_mb: Minimum item size in Megabytes to report (default: 0.0).
Returns: Structured scan report with discovered items, sizes, categories, and secret warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| max_depth | No | ||
| min_size_mb | No | ||
| artifact_types | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||