git_commit
Create a local Git commit from staged changes. Optionally stage tracked-file modifications and deletions before committing to keep the repository up to date.
Instructions
Create a local Git commit from staged changes, optionally staging tracked-file modifications with --all.
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_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Stage tracked-file modifications/deletions before committing. | |
| path | No | Git repository directory; defaults to the workspace. | |
| message | Yes | Commit message. |