Top N Files
scc_top_filesIdentify the largest or most complex files in a directory by sorting on metrics like code lines or complexity. Customize with path, filters, and limit.
Instructions
List the top N files under a path, sorted by a chosen metric.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | path (default CWD), response_format, filters, limit (default 10), and sort metric (default 'code'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |