veto_commit_message
Generate a conventional commit message from staged git changes, returning type, scope, subject, and body to ensure compliance with the Conventional Commits specification.
Instructions
Generates a conventional-commit message from staged changes (git diff --cached). Returns type, scope, subject, and body following the Conventional Commits specification.
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": {
"project_dir": "<project_dir>"
},
"name": "veto_commit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | Optional extra context for the commit (ticket number, motivation, etc.). | |
| project_dir | Yes | Absolute path to the git repository. | |
| agent_response | No | Phase 2 response from the host AI (JSON). Pass this back when prompted by the server to complete the agentic loop. |