git_commit
Stages changes and creates a commit with a structured message, ensuring version control history is accurately recorded.
Instructions
Stages changes and creates a git commit with structured message
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 |
|---|---|---|---|
| cwd | No | Optional repository working directory | |
| files | No | Specific files to stage and commit (defaults to all modified/untracked files) | |
| message | Yes | Git commit message |