annotate_code
Adds inline WCAG issue comments to code, helping developers identify and fix accessibility violations directly in their workflow.
Instructions
Add inline WCAG issue comments to code for better developer experience
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": "annotate_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code to annotate with WCAG issues | |
| style | No | Annotation style | comments |
| format | No | Code format | html |
| severity | No | Include severity indicators |