listBranches
Lists repository branches with optional name filtering, ordering, and pagination to help AI clients inspect available branches.
Instructions
List branches in a repository
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": {
"repoSlug": "<repoSlug>"
},
"name": "listBranches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | All pages, max 1000 | |
| limit | No | ||
| start | No | ||
| orderBy | No | ||
| repoSlug | Yes | ||
| filterText | No | Filter branches by name | |
| projectKey | No |