list_branches
List branches of a GitHub repository to inspect development progress and filter by protected status. Provides paginated results for efficient navigation.
Instructions
List branches for a given 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": {
"repo": "<repo>"
},
"name": "list_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| repo | Yes | Repository name | |
| owner | No | GitHub user or organization name (optional if GITHUB_OWNER is set) | |
| per_page | No | Results per page (max 100) | |
| protected | No | Filter by protected branch status |