Browse documentation

Use Phone Use

Use the CLI

Operate a phone with composable one-shot shell commands.

Start with observation

bashphone-use
phone-use observe

Target elements by label. Element references such as @e4 belong to one observation and should not cross separate CLI invocations.

Device primitives

bashphone-use
phone-use open Settings
phone-use tap "General"
phone-use type "Ada" --field "First name"
phone-use scroll down
phone-use nav back
phone-use wait_for "About"

Intent verbs

bashphone-use
phone-use goto Settings About
phone-use ask "Model Name" --app Settings
phone-use search Maps coffee --open
phone-use toggle Settings "Full-Screen Previews" --on
  • goto computes and replays the shortest known route.
  • ask finds a labeled value and reads it.
  • search handles native search patterns and can open a matching result.
  • toggle sets the requested switch state idempotently.

Carry data between commands

bashphone-use
export PHONE_USE_NOTES="$PWD/.phone-use-notes.json"
phone-use note save device-model "iPhone 17 Pro"
phone-use note read device-model