AI Vision Debug MCP Server

ui_workflow_validator

Validate user workflows by simulating UI interactions, testing navigations, clicks, and verifications on web pages. Capture screenshots for analysis.

Instructions

Execute and validate a sequence of UI interactions simulating a user workflow.

Input Schema

NameRequiredDescriptionDefault
captureScreenshotsNoWhen to capture screenshots (default: failure)
deviceNoOptional device to emulate (e.g., 'iPhone 13', 'Pixel 5')
startUrlYesInitial URL for the workflow
stepsYesSequence of steps representing the user workflow (minimum 1 step)
taskDescriptionYesHigh-level description of the user task being simulated

Input Schema (JSON Schema)

{ "properties": { "captureScreenshots": { "description": "When to capture screenshots (default: failure)", "enum": [ "all", "failure", "none" ], "optional": true, "type": "string" }, "device": { "description": "Optional device to emulate (e.g., 'iPhone 13', 'Pixel 5')", "optional": true, "type": "string" }, "startUrl": { "description": "Initial URL for the workflow", "type": "string" }, "steps": { "description": "Sequence of steps representing the user workflow (minimum 1 step)", "items": { "properties": { "action": { "description": "Playwright action or verification to perform", "enum": [ "navigate", "click", "fill", "select", "hover", "wait", "evaluate", "screenshot", "verifyText", "verifyElementVisible", "verifyElementNotVisible", "verifyUrl" ], "type": "string" }, "description": { "description": "Description of the user action for this step", "type": "string" }, "isOptional": { "default": false, "description": "If true, failure of this step won't stop the workflow", "optional": true, "type": "boolean" }, "script": { "description": "JavaScript for evaluate action", "optional": true, "type": "string" }, "selector": { "description": "CSS selector for interaction or verification", "optional": true, "type": "string" }, "url": { "description": "URL for navigate action or verification", "optional": true, "type": "string" }, "value": { "description": "Value for fill/select or text/URL to verify", "optional": true, "type": "string" }, "waitTime": { "description": "Time to wait in ms (for wait action)", "optional": true, "type": "number" } }, "required": [ "description", "action" ], "type": "object" }, "minItems": 1, "type": "array" }, "taskDescription": { "description": "High-level description of the user task being simulated", "type": "string" } }, "required": [ "startUrl", "taskDescription", "steps" ], "type": "object" }
ID: lbb1el5owd