git_push
Push committed changes from main to origin/main after reviewing pending changes. Requires a commit message.
Instructions
Execute git push command from "main" to "origin/main" in project path "/app/repo".
Push command: git push origin main:main --progress
⚠️ REQUIREMENT: You MUST call get_pending_changes to review changes before using this tool.
USAGE:
First call get_pending_changes to review pending changes
Then call this tool with the commit message parameter. Example: {message: "Update project files"}
Please provide the commit message in English language.
NOTE: If the push result contains a branch merge URL (such as a pull request URL), please output it to the user. If you can open a browser, you may also automatically open the URL.
The review status is reset after each push attempt (success or failure).
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": "git_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Commit message in English language. Example: {message: "Update project files"} |