take_snapshot
Capture a page's accessibility tree as a text snapshot, listing elements with unique IDs for UI automation. Use the newest snapshot instead of a screenshot.
Instructions
Take a text snapshot of the page based on the a11y tree. Lists elements with a unique uid. Always use the latest snapshot. Prefer this over a screenshot.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "take_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Targets a specific page by ID. Defaults to the selected page. | |
| verbose | No | ||
| filePath | No |