check_rule
Validates CSS class strings against design system prohibition rules, returning violations, reasons, and alternative classes for correction.
Instructions
Check class strings against this design system's prohibition rules. Returns violations with reasons and alternatives.
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": {
"classes": "<classes>"
},
"name": "check_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| classes | Yes | Space-separated class string to check (e.g. "text-black shadow-2xl bg-green-500") |