palette_check
Validate design system color pairs against WCAG 2.2 AA (4.5:1) before screens exist. Get exact ratios, pass/fail status, and flag thin-margin passes under 5.0:1 that a lighter shade would break.
Instructions
Check a design system's color pairs against WCAG 2.2 AA (4.5:1) before any screens exist. Reports each pair's exact ratio, pass/fail, and thin-margin passes (under 5.0:1) that one shade lighter would break.
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": {
"pairs": "<pairs>"
},
"name": "palette_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pairs | Yes |