list_branches
Retrieve paginated branch records for a project, with optional filters for closed branches and favorites. Use to inspect branch IDs, names, and status.
Instructions
List the project's branches. Returns branch records ({ id, name, createdAt, closed, permanent, latestCheckpointId, user }). Paginates via limit + cursor (meta.nextCursor); set closed:true to include closed branches, favorite:true for your favourites. When NOT to use: to read the current branch (use vcs_status).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max branches to return | |
| closed | No | Include closed branches | |
| cursor | No | Pagination cursor (a branch id from a previous meta.nextCursor) | |
| favorite | No | List only your favourite branches |