get_branches
List all branches of a GitHub repository by providing the owner and repo name. Quickly retrieve branch names to understand repository structure and manage development workflows.
Instructions
List branches for 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": {
"repo": "<repo>"
},
"name": "get_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository in "owner/repo" format. |