test_design_implementation
Run visual regression tests comparing a React component against its Figma design to verify implementation accuracy.
Instructions
Test generated component against Figma design with visual regression testing.
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": {
"figmaInput": "<figmaInput>",
"componentUrl": "<componentUrl>",
"componentName": "<componentName>"
},
"name": "test_design_implementation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| figmaInput | Yes | Figma URL or file ID for comparison | |
| componentUrl | Yes | URL of the implemented component to test | |
| componentName | Yes | Name of the component being tested |