take_snapshot
Capture a text snapshot of the current webpage, listing all elements with unique identifiers from the DOM or accessibility tree. Use this to inspect page structure without a screenshot.
Instructions
Take a text snapshot of the currently selected page based on the DOM/a11y tree. The snapshot lists page elements along with a unique identifier (uid). Always use the latest snapshot. Prefer taking a snapshot over taking a screenshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verbose | No | Whether to include all possible information (tag names, attributes). Default is true. | |
| filePath | No | The absolute path, or a path relative to the current working directory, to save the snapshot to instead of attaching it to the response. |