listProjectBranches
listProjectBranchesList analyzed project branches for a given project key, returning branch details like analysis date, quality gate, and issue counts to select a branch for further analysis.
Instructions
List analysed project branches. Returns name, main/type flags, analysis date, quality gate, and issue counts; use the name as branch in other tools.
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": "listProjectBranches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | No | Project key; omit only if the server has a default. Discover with `listProjects`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branches | No | List of branches with analysis status and issue counts. | |
| projectKey | No | Key of the project these branches belong to. |