Check the environment and the production guard
visual_doctorVerifies browser, config, target URL, and suppression store, and scans build output for leftover data-visual attributes to confirm the strip plugin ran before shipping.
Instructions
Verifies the browser, the config, the target URL, the suppression store, and — when you pass artifactsDir — scans a build output for leftover data-visual-ok / data-visual-expect attributes. Use artifactsDir:'dist' before shipping to prove the strip plugin actually ran.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "visual_doctor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to probe for reachability. Defaults to config.baseUrl. | |
| artifactsDir | No | Build output directory to scan for leftover attributes (e.g. dist, out, build). |