SmartUI Screenshot Upload
smartui_screenshot_uploadUpload screenshots to a SmartUI project as a new build, from local file_paths or from source_urls (fetched server-side, so it works without a client filesystem). Pass project_id to auto-resolve the project token. Set mark_baseline=true to seed a baseline. Returns build_id; follow with smartui_build_query(action=gate).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | What to upload (currently images) | |
| build_name | No | Name for this build (optional) | |
| file_paths | No | Absolute local image paths (.png/.jpg/.jpeg). Only usable when the MCP server runs locally over stdio — the hosted server cannot see your filesystem; use source_urls there. | |
| project_id | No | Project id — preferred; the projectToken is resolved automatically | |
| source_urls | No | Public http/https image URLs, fetched server-side (max 20). Works in hosted mode. | |
| mark_baseline | No | Mark this build as the baseline | |
| screenshot_name | No | Name this screenshot (binds it to that baseline) instead of using the file/URL name. Sent exactly as given, with no extension added, so pass the baseline name as it appears in SmartUI (SDK and CLI captures have no extension). Only valid when uploading exactly one image. |