commit_and_push
Commit project changes to a specified Git branch and push to GitHub, with optional file selection.
Instructions
Commit changes and push to GitHub branch
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": {
"message": "<message>",
"branch": "<branch>"
},
"name": "commit_and_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Files to commit (if empty, commits all) | |
| branch | Yes | Branch to push to | |
| message | Yes | Commit message |