validate_commit_message
Checks a proposed commit message against the target repository's configured format and subject-length limit, returning validity and specific validation errors.
Instructions
Validate a proposed commit message against the target repository's configured format and maximum subject length. Returns whether the message is valid and a list of validation errors.
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": {
"repositoryPath": "<repositoryPath>",
"message": "<message>"
},
"name": "validate_commit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| repositoryPath | Yes |