chrome_read
Retrieve a bounded semantic DOM snapshot from the paired Chrome document, excluding sensitive and invalid ARIA nodes. Returns snapshotId and nodeIds to run before every Chrome mutation.
Instructions
Read a bounded semantic DOM snapshot from the exact paired Chrome document. Sensitive fields and invalid/presentation ARIA nodes are excluded. Returns an ephemeral snapshotId and exact nodeIds; run this immediately before every Chrome mutation. No screenshot or coordinates are used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_chars | No | Maximum Unicode-character budget (default 100000, hard capped at 500000). The result reports truncation rather than silently omitting it. | |
| max_nodes | No | Maximum semantic nodes returned by the extension (default 500, hard capped by the content script at 1000). |