rules_config_validate
Validate .codehealth/rules.json after edits to catch structural errors, invalid rule names, and unknown threshold names before running code health checks.
Instructions
Validate the repository's code health rules file.
When to use: after editing .codehealth/rules.json.
Limitations: checks structure, rule names and threshold names only.
Returns: {rules_file, valid, 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": {
"repository_path": "<repository_path>"
},
"name": "rules_config_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repository_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||