large_old_files
Identify large files that haven't been modified recently, enabling targeted cleanup of old, space-consuming data.
Instructions
Find files that are both large and haven't been modified recently.
These are prime candidates for cleanup — files taking up significant space that haven't been touched in a long time.
Args: scan_id: The scan ID. older_than_days: Minimum age in days (default 180, ~6 months). min_size_mb: Minimum file size in MB (default 100). limit: Maximum results (default 50, max 200). ctx: MCP context (injected automatically).
Returns: List of large, old files sorted by size descending.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scan_id": "<scan_id>"
},
"name": "large_old_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| scan_id | Yes | ||
| min_size_mb | No | ||
| older_than_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |