list_branches
List branches in a repository by providing owner and repo, with pagination support for large projects.
Instructions
List branches in a repository.
Args: owner: Repository owner repo: Repository name page: Page number per_page: Items per page
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": {
"owner": "<owner>",
"repo": "<repo>"
},
"name": "list_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| repo | Yes | ||
| owner | Yes | ||
| per_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |