Git Commit
git_commitCommit staged changes to a Git repository using a custom message and optional repository path.
Instructions
Commit staged changes with a message (git commit).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "git_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Commit message. | update |
| repo_path | No | Path to the git repository. | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |