review_code
Review HTML, JSX, TSX, Vue, or Svelte code for accessibility issues and get specific fix suggestions with WAI-ARIA pattern references.
Instructions
Review code for accessibility issues and suggest fixes.
Args:
code: The HTML, JSX, TSX, Vue, or Svelte component code to review.
component_type: Optional hint about what the component is
(e.g., "modal", "dropdown", "form").
Returns:
Accessibility issues found with specific fix suggestions and
references to WAI-ARIA patterns.
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": {
"code": "<code>"
},
"name": "review_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| component_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |