git_push
Pushes local commits to a specified remote and branch, with an optional force flag to overwrite remote history.
Instructions
Push changes to remote 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": {
"repo_path": "<repo_path>",
"remote": "<remote>",
"branch": "<branch>"
},
"name": "git_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| branch | Yes | ||
| remote | Yes | ||
| repo_path | Yes |