commit_staged
Commit staged changes with a custom message, automatically appending "(aider)" to the committer name to track AI contributions in your codebase.
Instructions
Commit staged changes with a specific message, appending "(aider)" to the committer name.
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": "commit_staged"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The commit message. | |
| cwd | No | Optional: The working directory for the git command (defaults to the workspace root). |