cacheout_scan_caches
Scan macOS cache directories and report their sizes sorted by largest first to identify disk space hogs before cleaning.
Instructions
Scan macOS cache directories and report their sizes.
Scans developer tool caches (Xcode, Homebrew, npm, pip, Docker, etc.) and reports the size of each. Results are sorted by size (largest first).
Use this to understand what's consuming disk space before cleaning.
Args: params: Optional filters — specific category slugs or minimum size.
Returns: str: JSON array of cache categories with sizes, sorted largest first. [ { "slug": "xcode_derived_data", "name": "Xcode DerivedData", "size_bytes": 15032000000, "size_human": "15.0 GB", "item_count": 4230, "risk_level": "safe", "description": "Build artifacts...", "rebuild_note": "Xcode rebuilds on next build" } ]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |