perch_click
Clicks elements in a Perchance generator's live preview or editor by CSS selector or visible text to automate UI interactions and testing.
Instructions
Click an element in the live preview (or editor chrome). selector: CSS selector or 'text=Visible Text'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector": "<selector>"
},
"name": "perch_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nth | No | Click the Nth match instead of the first | |
| frame | No | Default preview | |
| timeout | No | ms. Default 10000 | |
| selector | Yes | CSS selector or 'text=...' |