app_press
Press an element of the latest app_snapshot, as clicking it does: a button, menu item, link or checkbox. A press can send, delete or quit, as in the app itself; after a menu command the state is the front window. Returns the app's new state with the next snapshotId, so no extra snapshot is needed. If the window changed, nothing is done and the error comes with the current state to retry from. A sent action is not proof the task succeeded. Needs ui and process permission (operating apps can run programs).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | No | Computer name or id from list_devices. Optional with one computer online or a default set. | |
| elementId | Yes | ||
| snapshotId | Yes | ||
| workSessionId | No | Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work. |