browser_snapshot
Capture the visible title, URL, and interactive elements of a live page. Return unique selectors so clicks and text entry hit the intended target.
Instructions
Title, url, and the interactive elements that are actually visible.
Each element carries a selector when one can reach it: pass that string to
browser_click or browser_type VERBATIM. It is built to match exactly one
element, which the obvious selector often does not - measured across 958
elements on real pages, 88% could be addressed but only 48% unambiguously,
and Playwright acts on the first match, so a caller aiming at the third of
five identical links would silently hit the first.
Elements with no selector carry at, the centre coordinates, for
browser_click_at.
Not the accessibility tree: on a real sign-up page a single country
<select> contributes about two hundred <option> nodes, which fill the
character cap before the form the caller was looking for appears at all.
browser is main unless you say support, and they share nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| browser | No | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |