find
Locate UI elements on a device and perform actions like click, type, or get text. Supports iOS, Android, macOS, Linux, and Apple platforms.
Instructions
Find an element and optionally act on it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Agent-device session name. | |
| platform | No | Platform selector used to resolve a device. | |
| deviceTarget | No | Device target form. Maps to the CLI --target flag. | |
| target | No | Alias for deviceTarget on commands without a UI target field. Interaction commands reserve target for the UI element. | |
| device | No | Device name selector. | |
| udid | No | iOS device UDID selector. | |
| serial | No | Android serial selector. | |
| iosSimulatorDeviceSet | No | iOS simulator device-set path used for device resolution. | |
| androidDeviceAllowlist | No | Android serial allowlist used for device resolution. | |
| daemonBaseUrl | No | Remote daemon base URL. | |
| daemonAuthToken | No | Remote daemon auth token. | |
| tenant | No | Remote tenant identifier. | |
| runId | No | Lease run identifier. | |
| leaseId | No | Existing lease identifier. | |
| cwd | No | Working directory for command execution. | |
| debug | No | Enable debug diagnostics. | |
| locator | No | ||
| query | Yes | ||
| action | No | ||
| value | No | ||
| timeoutMs | No | ||
| first | No | ||
| last | No | ||
| depth | No | ||
| raw | No | ||
| stateDir | No | Agent-device state directory. |