git_commit
Stage all changes and commit them, initializing a main branch if needed. Refuses to commit if secrets are detected.
Instructions
Stage all and commit (git init -b main if needed). Refuses if secrets would be committed.
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": {
"dir": "<dir>",
"message": "<message>"
},
"name": "git_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | ||
| message | Yes | Commit message. |