List accessibility rules
get_rulesList accessibility rules from axe-core and WebAbility with filters by rule, tag, engine, or fixability, and see each rule's fix template so you can pick auto-fixable ones before scanning.
Instructions
List accessibility rules from both engines — axe-core (104) and the WebAbility detectors (90+) — with optional filters. Every rule carries fixability (mechanical | contextual | visual) and a fix op template, so you can pick the rules worth auto-fixing before scanning. Returns ruleId, engine, description, help, helpUrl, tags/wcag, fixability, fix.
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 |
|---|---|---|---|
| rule | No | Only rules whose id contains these whole words (e.g. "link" → link-name, skip-link, not blink; "color-contrast"; case and -/_ insensitive). Also accepted: ruleId, id, query. | |
| tags | No | axe tag filter (e.g. ["wcag2aa"], ["best-practice"], ["cat.aria"]; a category also works without "cat."). WebAbility rules match on their WCAG criterion tag (e.g. "wcag143"). An unknown tag or category is an error that lists the valid ones. | |
| engine | No | Which engine's rules to list (default all) | |
| fixability | No | Only rules of this fixability tier |