Getprojectsprojectidbranches
getProjectsProjectIdBranchesLists branches for a specified Gerrit project and returns BranchInfo entities, with optional filters and pagination to find the branches you need.
Instructions
Lists the branches of a project as BranchInfo entities.
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-id": "<project-id>"
},
"name": "getProjectsProjectIdBranches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| match | No | ||
| regex | No | ||
| start | No | ||
| project-id | Yes | ||
| next-page-token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |