get_quality_gate
Retrieve quality gate status and conditions for a SonarQube project to verify code quality compliance.
Instructions
Get quality gate status and conditions for a SonarQube project
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": {
"projectKey": "<projectKey>"
},
"name": "get_quality_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | Yes | The SonarQube project key | |
| branch | No | Branch name (optional, defaults to main branch) |