Snapshot
snapshotCapture the current screen's accessibility tree to retrieve element refs for tapping, typing, and scrolling. Read before acting and refresh after each action since refs reset.
Instructions
Get an accessibility-tree snapshot of the current screen: every visible
element with its text, role, and a ref id you can pass to tap/type/scroll.
This is how the agent 'sees' the phone — read it before acting, and take a
fresh one after any action since refs reset on every snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| max_depth | No | ||
| max_nodes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||