Inspect the Flow UI
flow_inspectSnapshots interactive elements, performs an optional UI action, then returns elements that appeared or disappeared to reveal selector changes for bug reports.
Instructions
Snapshot interactive elements, optionally perform one action (click/hover a button matched by text or aria-label regex, press a key, or navigate), then return the elements that appeared/disappeared. This is how selectors are discovered when Flow changes its UI; paste the rows into a bug report. Never generates anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Viewport coordinates [x, y] to click/hover instead of a target (from a previous row @x,y) | |
| key | No | Key to press for action=press, e.g. Escape | |
| url | No | URL for action=goto | |
| find | No | Regex over visible text nodes; matches are returned with their position | |
| text | No | Text to type for action=type (after clicking target/at if given) | |
| media | No | Also list img/video elements that reference a Flow media id | |
| action | No | none | |
| region | No | Restrict rows to a viewport region | all |
| target | No | Regex matched against button/menu item text and aria-label (for click/hover), or "media:<id-prefix>" to target a media tile | |
| settle_ms | No | Wait after the action before the second snapshot | |
| screenshot | No | ||
| watch_network | No | Record network requests made during the action and settle window (method, status, type, URL) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| url | Yes | ||
| rows | Yes | All rows in the region after the action (capped at 300) | |
| added | Yes | ||
| media | No | id8|TAG|@x,y wxh for each media element | |
| matches | No | ||
| removed | Yes | ||
| requests | No | METHOD status content-type URL (capped at 80) | |
| screenshot | No | ||
| before_count | Yes |