Push server changes to a GitHub branch
git_pushCommit the live changes of a linked folder (all of them, or only paths) and push them to a new branch on GitHub (default server/-), without changing the live files. Then open a pull request with gh_pull_create. Needs a deploy key with write (git_link with write true).
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": {
"path": "<path>"
},
"name": "git_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | ||
| path | Yes | The folder's absolute path on the server, like /home/shop/public_html. | |
| paths | No | ||
| branch | No | ||
| server | No | Server name or id. Optional when the account has one server. | |
| message | No | ||
| approval_id | No |