sandbox_git_push
Push commits from a sandbox repository to a remote, with optional branch and upstream tracking, using GITHUB_TOKEN for authentication.
Instructions
Push commits to a remote repository. Requires GITHUB_TOKEN for authentication.
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_push"
}
}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 push. Defaults to current branch. | |
| setUpstream | No | Set upstream tracking. Use true when pushing a new branch. |