List branches
list_branchesList branch names for a Woodpecker repository as reported by its forge, with pagination up to 50 per page. An empty result may mean the forge cannot list branches.
Instructions
Lists branch names of a repository as reported by its forge (Gitea, Forgejo, GitHub, GitLab, ...), paged (up to 50 per page). An empty list can also mean the forge does not support listing branches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1). | |
| repo | Yes | Repository as "owner/name" (e.g. "acme/webapp") or a numeric Woodpecker repo id. | |
| instance | Yes | Woodpecker instance name. Configured instances: default. | |
| per_page | No | Results per page (default 50, max 50). |