git_amend_message
Rewrite the most recent local commit message without altering staged or working-tree changes. Correct a commit message quickly by amending local history only, with no remote contact.
Instructions
Rewrite only the most recent local commit message without including staged or working-tree changes. This rewrites local history and does not contact a remote.
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_amend_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| repo_path | No | Workspace-relative repository path; defaults to . |