git_push
Push a branch to a remote, defaulting to the current branch, or set tags=true to push tags instead. Force pushes and ref deletion are unsupported.
Instructions
Push a branch (default: current) to a remote. Force pushes and ref deletion are not supported. tags=true pushes tags instead of a branch.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "git_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | . | |
| tags | No | ||
| branch | No | ||
| remote | No | origin | |
| set_upstream | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |