sonar_project_metrics
Retrieve SonarQube or SonarCloud project metrics for a given project key: quality gate status, three ratings, bugs, vulnerabilities, code smells, coverage, and duplication.
Instructions
SonarQube 项目指标:质量门禁、三项评级、Bug/漏洞/异味数、覆盖率、重复率。
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": "sonar_project_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | No |