get_rules
Retrieve manual or contextual melta-ui prohibition rules that automated checks miss. Filter by category, severity, or detector to know which design rules apply.
Instructions
Get melta-ui prohibition rules from rules.json (107 total). Use this to retrieve manual/contextual rules that check_rule cannot auto-detect. Supports filtering by category, severity, or detector.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Filter by category (e.g. "color", "spacing", "accessibility", "button", "modal") | |
| detector | No | Filter by detector type | |
| severity | No | Filter by severity |