visual_check
Capture a screenshot of the current UI for visual validation. Use to check canvas text, layout overlap, obscured elements, color, and charts that DOM/ARIA cannot verify.
Instructions
Capture a screenshot of the current UI for VISUAL validation (change: visual-inspection-guidance).
Token-cheap by DEFAULT: saves the screenshot to disk and returns the PATH as text — a multimodal agent WITH file access reads that file on demand for checks the DOM/ARIA can't do (canvas/image text, layout/overlap, obscured elements, color, charts). Call get_locator_guidance(library="visual") for when to use it.
Set return_image=true ONLY if your model is multimodal AND cannot read the saved file (e.g. a hosted/remote MCP): the response then includes an image content block. This requires ROBOTMCP_SCREENSHOT_MODE to allow images (image|auto); text-only deployments (mode=file, the default) always return just the path so a text-only model is never sent unsupported image content.
Works across Browser/SeleniumLibrary/AppiumLibrary/PlatynUI (uses the session's screenshot keyword). Degrades cleanly if capture fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| session_id | Yes | ||
| return_image | No |