code_metrics
Compute lines of code, function count, and nesting depth for MQL files, either a single file or all files under a directory.
Instructions
Compute LOC/function/nesting metrics for a file or every MQL file under a root.
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 | ||
| source | No |