github_list_branches
Lists branches in a specified GitHub repository (owner/name) and returns each branch’s head commit SHA, with an optional result limit.
Instructions
List branches with their head commit sha.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository as 'owner/name'. Defaults to GITHUB_MCP_DEFAULT_REPO when omitted. | |
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| returned | Yes | ||
| truncated | Yes |