Validate a UI composition
validate_ui_compositionCheck TSX, JSX, HTML, or CSS snippets for accessibility, token, specificity, typography, motion, copy, generic-default, and proof problems.
Instructions
Check a TSX, JSX, HTML or CSS snippet for accessibility, token, specificity, typography, motion, copy, generic-default and proof problems.
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_snippet": "<code_snippet>"
},
"name": "validate_ui_composition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | No | Optional file name for the report. | |
| code_snippet | Yes | The composition code to inspect. |