sandbox_git_pull
Pull the latest changes from a remote repository into an E2B cloud sandbox. Specify the sandbox ID, repository path, and optionally the remote name and branch.
Instructions
Pull latest changes from a remote repository in a sandbox.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sandboxId": "<sandboxId>",
"repoPath": "<repoPath>"
},
"name": "sandbox_git_pull"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | The sandbox ID. | |
| repoPath | Yes | Path to the git repository. | |
| remote | No | Remote name. Defaults to "origin". | |
| branch | No | Branch to pull. Defaults to current branch. |