Skip to content

device_batch

Execute a sequence of UI interactions in ONE tool call. Eliminates LLM round-trip overhead. Steps: find (text + optional tap), fill (ref + text), scroll/swipe (direction), back, wait (ms), hideKeyboard, snapshot, screenshot. Fails fast on error unless step has optional=true.

NameTypeRequiredDefaultConstraintsDescription
stepsobject[]NoOrdered list of UI interaction steps
delayMsnumberNo300Delay between steps in ms (default 300)
screenshotOn`enum: nonefailureendeach`No
device_batch()