Contrast report
contrast_reportChecks WCAG 2.1 contrast ratios for design token foreground-background pairs in light or dark themes, classifying AA, AA-large, AAA and listing failures.
Instructions
The WCAG 2.1 contrast ladder for the token set in both themes (or one): foreground tokens over backgrounds with AA / AA-large / AAA classification and a failures list. The machine version of the Accessibility Lab contrast checker.
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": "contrast_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No |