find_large_files
Scan a directory to locate files exceeding a specified size in megabytes and list them in descending order, helping you identify large files for cleanup or review.
Instructions
Find files larger than min_size_mb sorted in descending order by size.
Args:
directory: Directory to scan.
min_size_mb: Minimum file size in megabytes to include.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_large_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | . | |
| min_size_mb | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |