commit_push
Stages all changes, commits them with your message, and pushes the current chatgpt/* branch to origin without force. Use it after reviewing the diff and checks, before creating a pull request.
Instructions
Stage every change (git add -A), commit with the message, and push the current chatgpt/* branch to origin (never --force). Refused on any other branch. Call after git_diff and run_check; then pr_create. Returns commit and push exit codes and output.
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>"
},
"name": "commit_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Commit message; first line is the subject, e.g. 'fix: handle empty input'. |