browser_snapshot_query
Search a stored browser snapshot by text, role, tag, or ref to retrieve matching excerpts and paths without loading the full page tree.
Instructions
Search the latest stored browser_snapshot tree by text/name/role/ref/tag and return tiny matching excerpts plus paths. Use this to drill into a compact snapshot instead of requesting a full page tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshotId | No | Defaults to the latest stored snapshot. | |
| text | No | Case-insensitive substring match against name/text/descendant text. | |
| role | No | Case-insensitive role match. | |
| tag | No | Case-insensitive tag match. | |
| ref | No | Exact ref/selector match. | |
| limit | No | ||
| maxDepth | No | Depth for each returned excerpt. | |
| maxBytes | No | ||
| redact | No |