list_branches
Lists branches in a repository to help inspect available targets before creating a release, opening a pull request, or filing a fix.
Instructions
List branches in a repository.
Returns the standard Gitea Branch object array: [{name, commit: {id, ...}, protected, ...}]. Useful for inspecting available targets before creating
a release, opening a PR, or filing a fix against a specific branch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner (user or organization name) | |
| repo | Yes | Repository name | |
| page | No | Page number (1-indexed) | |
| limit | No | Items per page (max 50) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |