git_branch_tool
Lists Git branches in a repository, filtered by type (local, remote, or all) and optional commit containment.
Instructions
Lists Git branches (local, remote, or all).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the Git repository | |
| branch_type | No | Which branches to list: 'local', 'remote', or 'all' | local |
| contains | No | Only show branches that contain this commit SHA | |
| not_contains | No | Only show branches that do NOT contain this commit SHA |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |