git_push
Pushes the current or specified branch to a remote repository, enabling agents to update Forgejo branches and continue development without manual Git commands.
Instructions
Push the current (or given) branch to a remote
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": {
"dir": "<dir>"
},
"name": "git_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | ||
| branch | No | ||
| remote | No | origin |