Press an option opener by ref (read-only, fast)
press_elementActivates a single dropdown, tab, or option opener from a prior read_page ref through its accessibility action so its values can be read next. Skips page snapshots and pointer input.
Instructions
Press ONE option opener from a prior read_page — a size/colour dropdown, a 'Select size' button, a tab — through its own accessibility action, so its values can be read next. Read-only and fast: no before/after page snapshot, no pointer, no coordinate fallback. Refuses links (use click_element), and anything that changes the cart, the order or the account. Returns 'Pressed' or 'Not pressed' with the reason; it does not verify what opened — read_page does.
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": {
"ref": "<ref>"
},
"name": "press_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | A ref like 'e3' from a prior read_page call. | |
| window_address | No |