auto_fix_component
Fixes common accessibility and performance issues in markup using audit findings, then returns corrected markup with applied fixes.
Instructions
Automatically fix common accessibility and performance issues in markup based on audit findings. Returns the corrected markup with a list of applied fixes.
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": {
"markup": "<markup>",
"findings": "<findings>"
},
"name": "auto_fix_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markup | Yes | The markup to fix | |
| findings | Yes | Array of AuditFinding objects from audit_component |