find_large_files
Find the largest files in a directory to identify disk space usage and free up storage. Defaults to home directory, skipping common cache and system folders.
Instructions
Finds the top N largest files under a given directory path (default: home directory). Skips hidden directories, .git, pycache, node_modules, .venv, and Library. Use when the user asks what is using disk space or wants to free up storage.
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 |
|---|---|---|---|
| n | No | Number of largest files to return (1–50, default 10). | |
| path | No | Directory path to search (e.g. '/Users/you/Downloads'). Defaults to home directory if omitted. |