list_repo_branches
Retrieve branch information for any repository to view available branches and manage git workflows. Supports pagination for large repositories.
Instructions
list branches for a repository
Args: repo: repository identifier in 'owner/repo' format (e.g., 'zzstoatzz/tangled-mcp') limit: maximum number of branches to return (1-100) cursor: optional pagination cursor
Returns: list of branches with optional cursor for pagination
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | ||
| limit | No | maximum number of branches to return | |
| repo | Yes | repository identifier in 'owner/repo' format (e.g., 'zzstoatzz/tangled-mcp') |
Input Schema (JSON Schema)
{
"properties": {
"cursor": {
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "pagination cursor"
},
{
"type": "null"
}
],
"default": null
},
"limit": {
"default": 50,
"description": "maximum number of branches to return",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"repo": {
"description": "repository identifier in 'owner/repo' format (e.g., 'zzstoatzz/tangled-mcp')",
"type": "string"
}
},
"required": [
"repo"
],
"type": "object"
}