list_repository_branches
Retrieve a list of branches in a specified repository by providing the owner, repository name, and optional pagination parameters for organized results.
Instructions
List branches in a repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
owner | Yes | Repository owner, typically referred to as 'username'. Case-insensitive. | |
page | No | Page number | |
per_page | No | Number of results per page | |
repo | Yes | Repository name. Case-insensitive. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"owner": {
"description": "Repository owner, typically referred to as 'username'. Case-insensitive.",
"type": "string"
},
"page": {
"description": "Page number",
"type": "number"
},
"per_page": {
"description": "Number of results per page",
"type": "number"
},
"repo": {
"description": "Repository name. Case-insensitive.",
"type": "string"
}
},
"required": [
"owner",
"repo"
],
"type": "object"
}