code_metrics
Measure code metrics for MQL source files or folders to evaluate complexity and maintainability. Use analyze_mql with checks=['metrics'] as replacement.
Instructions
DEPRECATED (removed in 0.6.0): use analyze_mql(source or root, checks=["metrics"]).
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": "code_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Absolute folder to aggregate over. | |
| source | No | Absolute path of one source file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||