find_large_files
Locate files exceeding a specified line-count threshold to identify oversized source files for review or refactoring.
Instructions
Find files that exceed a line count threshold.
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 | Subdirectory to search | |
| file_glob | No | Filter by file pattern | |
| threshold | No | Line count threshold (default: 300) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check | Yes | ||
| total | Yes | ||
| matches | Yes |