Validate a commit message
validate_commit_messageCheck any commit message against the Udacity Git Commit Message Style Guide to see if it complies, with violations and warnings for fixes.
Instructions
Check a commit message against the Udacity Git Commit Message Style Guide. Returns whether it is compliant plus any problems (violations) and warnings (hints).
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": "validate_commit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The full commit message to check |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| problems | Yes | ||
| warnings | Yes |