create_commit_rules
Creates a .commit-helper.json file in the repository root from chosen commit-message rules to configure commit validation; fails if the file already exists.
Instructions
Create a .commit-helper.json file in the repository root using the user's chosen commit-message rules. Fails if the file already exists.
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>",
"rules": "<rules>"
},
"name": "create_commit_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | ||
| repositoryPath | Yes |