scan_cleanup_targets
Scans local disks for developer caches, large unused videos, and old logs, listing cleanup candidates by size without deleting anything so you can review and approve items before moving them to trash.
Instructions
条件に一致する削除候補をサイズの大きい順に列挙する(Dry-Run。何も削除しない)。 返された scan_id は move_to_trash に必要。結果はユーザーに提示して同意を得ること。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | 返す候補の最大件数 | |
| min_size_mb | No | 動画の最小サイズ(MB) | |
| target_path | Yes | スキャンを開始するディレクトリの絶対パス | |
| target_type | Yes | dev_cache=node_modules等の開発キャッシュ, large_videos=大容量で未使用の動画, old_logs=更新のない古いログ, all=すべて | |
| unused_days | No | 動画の未アクセス・未更新日数の閾値 | |
| older_than_days | No | ログの未更新日数の閾値 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| scan_id | Yes | ||
| timed_out | Yes | ||
| truncated | Yes | ||
| found_count | Yes | ||
| target_path | Yes | ||
| target_type | Yes | ||
| returned_count | Yes | ||
| skipped_errors | Yes | ||
| total_reclaimable_mb | Yes |