git_commit
Commit staged changes with a supplied message while preserving normal repository hooks. Optionally amend the previous commit.
Instructions
Commit the current index with a supplied message and normal repository hooks.
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 |
|---|---|---|---|
| amend | No | ||
| message | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| changes | Yes | ||
| updates | No | ||
| conflicts | Yes | ||
| operation | Yes | ||
| head_after | Yes | ||
| head_before | Yes | ||
| process_ids | Yes | ||
| synchronization_error | No |