generate_visual_regression_test
Generate Playwright or Percy visual regression test configuration and baseline scripts
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": {
"projectName": "<projectName>",
"tool": "<tool>"
},
"name": "generate_visual_regression_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Visual regression tool | |
| routes | No | Comma-separated routes to capture (e.g. /,/login,/dashboard) | |
| baseUrl | No | Application base URL for tests | |
| projectName | Yes | Project name | |
| withViewports | No | Test multiple viewport sizes |