Prosecute Commit
court.prosecute_commitAnalyze commit messages against code changes to ensure clarity and adherence to conventional commit standards, returning structured feedback for improvement.
Instructions
Put a commit subject and diff on trial and return a structured verdict.
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": {
"subject": "<subject>",
"diff": "<diff>"
},
"name": "court.prosecute_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | Commit subject line to put on trial. | |
| body | No | Optional commit body. | |
| diff | Yes | Unified diff or patch text. | |
| pr_body | No | Optional PR description. | |
| style | No | Courtroom voice preset. | |
| language | No | Rendered verdict language. |