sonarqube_quality_gate
Explains why a SonarQube quality gate is red by returning its status, new-code period, and conditions, listing failing conditions first with ratings from A to E.
Instructions
Explain why a quality gate is red: status, new-code period, and conditions with the failing ones first (ratings as A-E)
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": {
"project": "<project>"
},
"name": "sonarqube_quality_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Branch name | |
| project | Yes | Project key | |
| pullRequest | No | Pull request id |