Push the current commit
git_pushPush a reviewed commit to an allowlisted remote and branch without force, when enabled per project.
Instructions
Push the reviewed current commit without force to an allowlisted remote and branch. This must be enabled locally per project.
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": {
"projectId": "<projectId>",
"expectedCommitSha": "<expectedCommitSha>"
},
"name": "git_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remote | No | origin | |
| projectId | Yes | ||
| expectedCommitSha | Yes |