search_by_size
Find files within a specified size range. Filter by minimum and maximum bytes, with optional glob patterns and depth limits.
Instructions
Find files within a size range. Supports min, max, or both. At least one of minSize or maxSize is required. Results sorted by size descending.
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": "search_by_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relative path within the file server root. Empty string for root. | |
| minSize | No | Minimum file size in bytes (inclusive). | |
| maxSize | No | Maximum file size in bytes (inclusive). | |
| maxResults | No | Maximum results to return (default: 20, max: 100). | |
| maxDepth | No | Maximum depth to traverse (default: 10, max: 10). | |
| include | No | Comma-separated glob patterns to include (e.g. '*.log, *.txt'). Only matching files are returned. Supports * and ? wildcards. Empty means all files. | |
| exclude | No | Comma-separated glob patterns to exclude (e.g. 'node_modules, *.tmp'). Matching files and directories are skipped. Supports * and ? wildcards. |