search_quality_gates
Page through projects linked to a quality gate, with filtering by selection status and name to view association details.
Instructions
Page through projects associated with a gate; supports filtering by selection status and name.
Returns a list of projects and their association status with the specified quality gate. Useful for understanding which projects use which quality gates. Requires SONARCLOUD_ORGANIZATION to be set.
Example: search_quality_gates(gateId=123, selected=True, query="my-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": {
"gateId": "<gateId>"
},
"name": "search_quality_gates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-indexed) | |
| query | No | Search query to filter project names (case-insensitive partial match) | |
| gateId | Yes | Quality gate ID to search projects for. Get this from list_quality_gates() | |
| pageSize | No | Page size (max 500) | |
| selected | No | Filter by association: true=only projects using this gate, false=only projects not using it, null=all projects |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||