Snapshot
browser_snapshotReads a Chrome tab as accessibility-tree text with element refs, filters, and paging, helping CDPM agents inspect pages and act on interactive elements.
Instructions
Reads the tab as accessibility-tree text. Clickable/typable elements get refs like [e12]. Long pages are split; only page 1 (top) is shown (page=2 to continue; refs stay the same across pages). find="text" shows only matching elements with their parent context; ref="e40" shows only that element's subtree. Refs change when the page changes, so re-snapshot before acting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Only this ref element and its subtree | |
| tab | No | Target tab: number (1, 2…) or ID ("t7"). Use the stable ID when agents share a slot. Required for action tools when there are multiple tabs. | |
| find | No | Only lines containing this text, with parent context (ignores case and spaces). If unsure of site language, use | for alternatives, e.g. "제목|subject" | |
| page | No | Page number for long output (default 1) | |
| slot | Yes | Browser slot 1-30. "3", "slot 3", "browser 3" → 3. If the user gives a port like 14052, subtract 14049. | |
| agent | No | Your display name, shown to other agents. Subagents must always set it. Default "claude-68d9". | |
| multiSlot | No | true only when one agent must handle several slots together (e.g. comparing). Normally omit (one agent = one slot; use subagents for the rest) | |
| interactive | No | Only actionable elements (lines with refs): inputs, buttons, links. Use first to find inputs on big pages like Gmail |