inspect
List an app's UI elements via the accessibility tree to find what to click. Filter with find to get only matching elements instead of the whole tree.
Instructions
List UI elements (id, role, label, value, frame) of an app's windows via the accessibility tree. The preferred way to find what to click. Pass find to get only matching elements instead of the whole tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Process name, e.g. "TextEdit". Defaults to the frontmost app. Works on background apps. | |
| find | No | Only elements whose role equals this or whose label/value contains it, e.g. "Save" or "AXTextField" | |
| maxDepth | No | ||
| maxNodes | No |