sandbox_git_commit
Stage specified files or all changes and create a git commit in an E2B sandbox repository with custom author details.
Instructions
Stage files and create a git commit in a sandbox repository.
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>",
"message": "<message>"
},
"name": "sandbox_git_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | The sandbox ID. | |
| repoPath | Yes | Path to the git repository. | |
| message | Yes | Commit message. | |
| files | No | Specific files to stage. If omitted, stages all changes. | |
| authorName | No | Commit author name. | |
| authorEmail | No | Commit author email. |