cleanup_garbage
Clean up disk space by removing bundles, debug logs, and artifacts. Use apply=True to execute deletion.
Instructions
Garbage-collect accumulated research-hub files (v0.46+).
Pass everything=True for the common case (bundles + debug logs +
artifacts). Default mode lists candidates without deleting; pass
apply=True to actually remove.
Use when: user says "clean up", "free disk space", or "GC the vault".
Returns {ok, total_bytes, files_deleted, dirs_deleted, candidates}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundles | No | ||
| debug_logs | No | ||
| artifacts | No | ||
| everything | No | ||
| keep_bundles | No | ||
| debug_older_than_days | No | ||
| keep_artifacts | No | ||
| apply | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||