perch_snapshot
Lists visible interactive elements in a live preview with ready-to-use CSS selectors, helping agents find what to click without screenshots.
Instructions
Text-first UI testing: list the visible interactive elements (buttons/inputs/links) in the live preview with a ready-to-use CSS selector each. Use this instead of screenshots to find what to click.
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": "perch_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | Default preview | |
| limit | No | Max elements. Default 250 | |
| filter | No | Only elements whose label/tag contains this text |