Get component measures
get_component_measuresRetrieve SonarQube component measures for specified metric keys to assess code quality.
Instructions
Get read-only SonarQube component measures for metric keys.
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": {
"metricKeys": "<metricKeys>"
},
"name": "get_component_measures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | No | ||
| projectName | No | ||
| branch | No | ||
| pullRequest | No | ||
| metricKeys | Yes |