auto_git_commit
Automatically stage changes, generate a commit message using Antigravity, commit, and optionally push to remote.
Instructions
Automatically stage, generate a commit message using Antigravity, commit, and optionally push.
Use this to offload boring token-wasting git operations from the frontier model.
Args:
repo_path: The absolute path to the git repository.
push: Whether to 'git push' after committing.
stage_all: Whether to 'git add .' before generating the commit. If False, only uses currently staged changes.
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": {
"repo_path": "<repo_path>"
},
"name": "auto_git_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| push | No | ||
| repo_path | Yes | ||
| stage_all | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |