List branches
list_branchesList a repository's branches with their head commits.
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 |
|---|---|---|---|
| repo | Yes | Repository slug. | |
| owner | Yes | Namespace that owns the repository (user or organization handle). | |
| cursor | No | nextCursor from a previous page. | |
| perPage | No | Results per page (default 30). |