click_element
Click a UI element by its numeric id from the most recent parse_screen. Re-parse after screen changes to avoid stale id errors.
Instructions
Click an element by id from that instance's most recent parse_screen (no coordinate guessing).
Returns {"ok", "action", "instance", "detail", "element", "center"}. Fails (isError) with the
fix named if the id is unknown — run parse_screen(instance) first. Ids go stale when the
screen changes: after navigation, re-parse before clicking. observe/settle_ms: see click().
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| button | No | ||
| observe | No | none | |
| instance | No | ||
| settle_ms | No |