commit_and_push
Stage files, create a commit with a message, and push changes to the current branch.
Instructions
Stage files, create a commit, and push to the current 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>"
},
"name": "commit_and_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Files to stage (default: ["."] — all changes) | |
| message | Yes | Commit message |