sandbox_git_status
Retrieve the git status of a repository in an E2B sandbox, showing the current branch and modified, staged, or untracked files. Provide the sandbox ID and repository path to get a clear snapshot of changes.
Instructions
Get the git status of a repository in a sandbox (current branch, modified/staged/untracked files).
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_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | The sandbox ID. | |
| repoPath | Yes | Path to the git repository in the sandbox. |