sandbox_git_branch
List, create, or switch git branches in an E2B sandbox repository to manage development workflows.
Instructions
Manage git branches: list, create, or switch branches in a sandbox repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | The sandbox ID. | |
| repoPath | Yes | Path to the git repository. | |
| action | Yes | "list" to show branches, "create" to make a new branch, "checkout" to switch branches. | |
| branchName | No | Branch name (required for "create" and "checkout" actions). |