Per-File Metrics
scc_file_metricsReport detailed per-file metrics for a single file or a filtered set of files in a directory, including lines of code and complexity.
Instructions
Report detailed per-file metrics for a file or filtered subset.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"params": "<params>"
},
"name": "scc_file_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | path (default CWD), response_format, and include/exclude filters. Point ``path`` at a single file for that file's metrics, or a directory for all matching files. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |