validate_rules
Validate code against architectural rules to detect violations and generate compliance reports. Supply a file path or content to begin validation.
Instructions
Validate code against architectural rules
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": {
"rules": "<rules>"
},
"name": "validate_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | Rules to validate against | |
| fileName | No | Name of file being validated (when using fileContent) | |
| filePath | No | Path to file to validate | |
| fileContent | No | Content to validate (alternative to filePath) | |
| reportFormat | No | Format for validation report | detailed |
| validationType | No | Type of validation to perform | file |