phone
Verify Android device reachability over USB or Wi-Fi and return model, screen status, and foreground app for targeting actions.
Instructions
Link status: phone reached (USB or Wi-Fi), model, screen, foreground app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| model | Yes | ||
| locked | Yes | ||
| serial | Yes | ||
| android | Yes | ||
| posture | Yes | folded, half-open, open, or empty (non-foldable phone) | |
| rebooted | Yes | ||
| screen_on | Yes | ||
| transport | Yes | ||
| foreground | Yes | ||
| code_required | Yes | locked and Android asks for the code (PIN, pattern, password, biometrics): only then the user must unlock it; false: look or the first gesture lifts the lock screen, no code | |
| kept_awake_until | Yes | HH:MM, screen kept on by the agents until this time |