AUA (Android UI Analyser)

v0.52.1
io.github.The-Wordlab/aua Checked 4 days ago Published 4 days ago

See and operate Android, iOS-simulator and web UIs by stable element ID, not pixels.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

development_tools_status

Report optional developer-tool installation/version without connecting to a device.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

development_tools_setup

Explicitly install the selected platform's optional developer tools from the official distribution, for this user.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

development_tools_catalogue

Discover supported operations, accepted options, effects and cleanup. Inspect an operation before calling development_tool.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
operationstring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

development_tool

Run one catalogued optional developer operation. Host builds/previews/docs do not need a device. Device operations use AUA's leased target; target/session overrides are forbidden. Actions return an observation. Profiling has durable cleanup. Never repeat an uncertain mutation.

ParameterTypeDescription
operation *string
argumentsarray
confirmedboolean
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
optionsobjectAccepted option names/values from the catalogue; no leading --.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
profile_kindstringFor profiler session status/terminate, select this caller's trace or heap session; never accepts another caller's session ID.
project_dirstringAbsolute project working directory on the tool host.
timeout_snumber

preview_list

Compile a Compose preview target and discover its @Preview functions. No device or IDE required; this still performs a build.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
include_dependenciesboolean
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
project_dirstringAbsolute project working directory on the tool host.
referencestring
timeout_snumber

preview_render

Render selected Compose previews to PNG plus component-tree JSON with bounds, source and semantics. Reuse these artifacts with preview_inspect/check; rendered previews are not evidence of runtime navigation.

ParameterTypeDescription
fqns *array
component_treeboolean
daemonboolean
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
no_imagebooleanSkip PNG output; requires component_tree=true.
outputstring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
project_dirstringAbsolute project working directory on the tool host.
referencestring
timeout_snumber

preview_inspect

Read a saved preview's component tree, semantics, bounds and source locations. This does not inspect a live device.

ParameterTypeDescription
path *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
max_nodesinteger
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

preview_check

Evaluate supported deterministic checks on a saved preview tree; inspect it first to discover available evidence. Does not prove runtime behavior.

ParameterTypeDescription
checks *array
path *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

journey_validate

Validate an authored journey YAML without starting a device. Each step contains natural-language instructions plus deterministic assertions or explicit visual review.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
filestringPath to an authored journey YAML file; provide file OR yaml.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
yamlstringInline journey YAML. Required: version: 1, name, steps. Each step has id, instruction and either assertions (AUA assertion list) or review (visual assessment question). Provide yaml OR file.

journey_start

Start an authored journey in AUA's ordinary goal session. The calling agent performs the instruction, then calls journey_check or journey_record; instructions are not automatically executed.

ParameterTypeDescription
apkstring
artifacts_dirstringDirectory for the full session evidence bundle.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
filestringPath to an authored journey YAML file; provide file OR yaml.
headedbooleanShow a target started for this journey.
packagestring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
start_emulatorbooleanAllow provisioning a free target; false requires an available target.
yamlstringInline journey YAML. Required: version: 1, name, steps. Each step has id, instruction and either assertions (AUA assertion list) or review (visual assessment question). Provide yaml OR file.

journey_status

Read the current authored step, its assertions and remaining progress.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
session_idstring

journey_check

Evaluate the current journey step's deterministic assertions on one fresh frame; failure never advances progress.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
session_idstring

journey_record

Record an agent's explicit visual assessment against the exact previously observed fingerprint. This is labeled agent-assessed, never machine-verified.

ParameterTypeDescription
evidence *string
fingerprint *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
passedboolean
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
session_idstring

journey_finish

Finish a journey with separate deterministic and agent-assessed outcomes, using the ordinary session cleanup path.

ParameterTypeDescription
allow_incompleteboolean
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
retain_started_targetboolean
session_idstring

report_guide

Read how to turn a run's recording and screenshots into a page people can open: what to collect, the video and chapter markup, then report_player and report_publish. How the page looks is up to you.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

report_player

Put AUA's video player and image viewer into HTML pages just before </body>; running it again replaces the earlier copy. Every <video controls> becomes a player that seeks from memory, elements with data-seek become chapters, and every <img> opens larger with zoom when clicked.

ParameterTypeDescription
pages *arrayHTML page paths.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

report_publish

Publish a folder (index.html at the top) to Drophere and check the result: link, expiry, who can open it, and that every file loads. With allow_domains or allow_emails, access is set before the upload. Without a Drophere API key the page is public for 24 hours. This uploads to an external host: publish only what the user means to share.

ParameterTypeDescription
folder *stringAbsolute path of the folder to publish.
allow_domainsarrayEmail domains whose people may open it.
allow_emailsarrayEmail addresses that may open it.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
slugstringPublish a new version at this existing link.
ttlstringExpiry such as 24h or 7d (default 7d); needs an API key.

credential_request

Open a private masked Save/Cancel dialog on the MCP server host and save one environment variable to a .env file. Use when a required API key is missing; the user types it directly, never in chat or a tool argument. Returns status only. No device/session is required. A nonempty saved value is preserved unless replace=true. Requires a graphical desktop on the server host; remote/headless clients cannot display it locally. The consumer must load .env as data; saving does not update the server's environment.

ParameterTypeDescription
name *stringEnvironment variable name, never its secret value.
env_filestringHost .env path; prefer an absolute project path.
replaceboolean
timeout_sinteger

capabilities

Discover AUA capabilities, ranked for an optional goal. Start a new kind of task here only when session_start did not already surface what you need.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
goalstringOptional natural-language task used to rank the catalogue.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

policy_status

Host-only readiness for the optional guarded local policy: effective config, dependency and artifact/hash checks, and warm-daemon compatibility. Never loads a model or touches an Android device.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

session_start

Start goal-aware target work: observe once, surface relevant capabilities, and return the safest exact recommended call. Use this first.

ParameterTypeDescription
goal *stringThe end-to-end test goal.
activitystringOptional launcher Activity to pin with package.
animationsbooleanEnable Android animations for this session and restore prior scales at finish; animation goals infer this automatically.
apkstringInstall this APK before planning; the bundle may name the package.
artifacts_dirstringAbsolute directory for the cross-command evidence bundle. Required and non-empty when evidence='all' or junit=true.
audiobooleanWhen provisioning boots one, keep host audio enabled so microphone injection is available.
avdstringAVD name when several exist.
confirmedbooleanRequired confirmation for a destructive fresh install.
contract_yamlstringAuthored version-1 YAML checkpoints; only fresh assertion proof can complete them.
evidencestringOmit or use 'failures' for the default; 'none' disables automatic evidence. Neither needs artifacts_dir. 'all' requires artifacts_dir.
freshbooleanUninstall an existing copy before installing the APK.
grant_permissionsbooleanGrant runtime permissions after app installation.
headedbooleanRequire a visible virtual target; if AUA starts one, show its window.
helperbooleanRun the authored contract end-to-end inside the device helper, then finish the session and restore helper/session state. Requires contract_yaml and never falls back to host-agent execution.
junitbooleanWrite JUnit results; true requires artifacts_dir.
launch_appbooleanLaunch the selected package during bootstrap.
needsarrayRequired capabilities interpreted by the selected platform; animations remains a shared session-environment request.
packagestringLaunch and observe this package before planning.
provision_targetbooleanStart a compatible selected-platform virtual target when no matching target is free.
reinstallboolean
start_emulatorbooleanAndroid compatibility alias for provision_target.
virtual_targetstringSelected-platform virtual-target definition; avd is the Android alias.
wait_for_lease_snumberBounded device-lease wait in seconds; never steals.

session_review

Review exact caller-visible top_level_calls (lifecycle_calls + task_calls), journal_events including folded_internal_events, elapsed time, failures, redundant patterns, and savings. reporting_call_included=false means the embedded snapshot precedes this review/finish invocation.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
session_idstring

session_progress

Return ordered goal phases, the active checkpoint, and one exact next call. Analyzed tool results include this automatically; call explicitly only after reconnecting.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
session_idstring

session_autopilot

Let the configured warm local policy choose and directly execute a bounded stretch of fresh-frame, guard-approved navigation taps. AUA re-observes every action and hands control back on uncertainty, no progress, repetition, input, mutation, or proof work. Requires policy advisory mode.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
max_duration_msinteger
max_stepsinteger
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
session_idstring

session_finish

Finish the session, restore session-owned reversible state, release its lease, and return a compact final verdict. By default an AUA-started target remains warm until the lease-gated idle timeout; set retain_started_target=false for unattended runs that must stop that exact boot at cleanup. Set summary=false only when the full review/evidence payload is needed.

ParameterTypeDescription
allow_incompletebooleanExplicitly terminate despite incomplete authored checkpoints.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
retain_started_targetbooleanKeep an AUA-started target warm; false stops only this session's exact boot token after reversible cleanup.
session_idstring
summarybooleanCompact verdict/cleanup/accounting instead of full detail.

session_candidate_flow

Preview a contract-proven action path. Replay/save require an explicit reset flow; saving occurs only after both reset and candidate replay pass.

ParameterTypeDescription
name *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
replayboolean
reset_flowstringSaved flow name or absolute YAML path for deterministic reset.
saveboolean
session_idstring

job_start

Start one durable read-only wait and return immediately with a reconnectable job id. Ordinary device tools are serialized until it finishes or is cancelled.

ParameterTypeDescription
operation *string
confirmation_msinteger
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
observeboolean
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
poll_msinteger
predicatestringRequired for await, e.g. 'rid:result,!text:Loading'.
settle_msinteger
timeout_msinteger

job_status

Reconnect to a durable wait by id without restarting it.

ParameterTypeDescription
job_id *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
recent_outputbooleanInclude lifecycle events and latest result/error.

job_wait

Wait at most 10 seconds for a durable job; a running result keeps the same id.

ParameterTypeDescription
job_id *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
timeout_msinteger

job_cancel

Cancel a durable wait and briefly await terminal acknowledgement.

ParameterTypeDescription
job_id *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
wait_msinteger

job_list

List recent durable waits visible to this owner.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
limitinteger
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

orient

Return the current app's known screens, verified route suggestions, recipes, deeplinks, notes, and research tasks without navigating.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

reach

Reach a semantic destination in one call using the safest verified option: goto, then a matching safe flow, then an explicitly permitted deeplink or assist.

ParameterTypeDescription
goal *string
allow_destructiveboolean
allow_unsafeboolean
assistbooleanPermit configured planner assistance after deterministic options.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
poll_msinteger
timeout_msinteger
untilstringArrival predicate, for example 'rid:result,!text:Loading'.

await_and_analyze

Wait for all comma-separated positive/negative semantic terms and return the settled analyzed screen plus per-term evidence in one call.

ParameterTypeDescription
predicate *stringFor example 'rid:result,!text:Loading'.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
ignore_caseboolean
matchstring
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
poll_msinteger
timeout_msinteger
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

flow_list

List saved flows with app/context compatibility, step count, parameters, arrival proof, description, and path. Flows are filed per app; pass app to narrow to one package, and replay a flow by its `ref` (a bare name, or `<package>:<name>` when two apps share one).

ParameterTypeDescription
appstringPackage whose flows to list (plus app-agnostic ones).
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

flow_save

Preview recent recorded actions as an editable reusable flow without writing. Review scope, value-free selector_resilience, and arrival proof. An unmapped arrival is captured only from a positive action-bound until satisfied on the same frame; otherwise it remains unverified. Set save=true only after review.

ParameterTypeDescription
name *string
dry_runbooleanDeprecated non-writing alias; preview is already default.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
forceboolean
lastinteger
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
savebooleanWrite the previewed flow; default false writes nothing.

flow_delete

Idempotently delete a saved flow. Returns deleted=false and status=already_absent when it was already gone. Qualify the name as `<package>:<flow>` when two apps own flows of that name.

ParameterTypeDescription
name *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

map_find

Find a context-compatible learned route and return its exact goto call without acting.

ParameterTypeDescription
goal *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
packagestring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

suite_run

Run a YAML acceptance checklist as one grouped assertion call.

ParameterTypeDescription
path *string
continue_on_failboolean
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
textstringInline YAML when path is '-'.

logcat_mark

Set a named device-clock logcat mark before the action under test.

ParameterTypeDescription
clearboolean
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
namestring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

logcat_dump

Read only logcat lines since a named mark, with optional grep/tag filters.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
grepstring
linesinteger
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
sincestring
tagstring

app_log_prefs_get

Read one app's persisted app_logs preferences: which tags it ignores, which it reports despite the built-in noise list, any only-list, and the line, per-tag and priority settings — plus what they resolve to and what the built-in list already hides.

ParameterTypeDescription
package *stringApp id to read.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

app_log_prefs_set

Persist one app's app_logs preferences: ignore a chatty tag, stop ignoring one (including a tag the built-in noise list hides), keep only the tags you are chasing, or raise the 20-line budget and the 5-per-tag cap. Stored per app id beside its map on this host, so every later session inherits it — unlike `configure`, which lasts this session and applies to every app. Needs no device. `F` lines survive every tag filter, so this can never hide a crash, and an ignored tag stays ignored even when only_tags names it too. `configure` set in this session outranks what is stored here.

ParameterTypeDescription
package *stringApp id these apply to.
enabledbooleanFold this one app's logs into its observations, or not.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
ignore_tagsarrayTags to stop reporting for this app (prefix match).
levelsstringPriority SET, not a floor (default 'DWEF'). 'I' is noisier than 'D' on Android, so widen to 'DIWEF' only when chasing a library.
limitintegerLines attached per action (default 20), head+tail on overflow.
only_tagsarrayReport ONLY these tags for this app; [] clears the list. A narrowed window says so, as `only` in the digest.
per_tagintegerLines one tag may contribute before it is capped (default 5). A tag named in only_tags is never capped.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
resetbooleanForget this app's preferences; cannot be combined with a change.
scan_linesintegerLines read from the window before filtering (default 600).
unignore_tagsarrayTags to report again — reaches the built-in noise list too. Tags that were not being ignored come back in `not_ignored`.

analyze_screen

Analyze the current screen and return Set-of-Marks JSON (elements with stable ids, bounds, centers).

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
no_cachebooleanForce a fresh capture instead of reusing cached hierarchy data.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
querystringReturn the single best-matching element.
sourcestring
with_imagebooleanAlso return the raw screenshot as an image block.
with_ocrboolean

has

Quick check: is this text on screen right now? Returns {found, source, bounds?}.

ParameterTypeDescription
text *string
bystringMatch by text, resource-id (finds pruned containers), or desc.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
ignore_caseboolean
matchstring
ocr_fallbackboolean
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

tap_and_analyze

Tap by a fresh observation id or by one stable rid/text/desc selector. Prefer a stable selector when one is available. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
boundsarrayWhere stable_key was seen, as [x1,y1,x2,y2]. Only used to pick between several elements sharing that key, as reusable list rows do.
descstringMatch by content-desc.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
firstbooleanTake the first match.
idinteger | stringCopy an element's id from the latest observation, including stable strings like 'el:...'. Also accepts a current-frame numeric ordinal. Do not put this id in rid.
indexinteger0-based index when the selector is ambiguous.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
ridstringMatch the app's resource/test id (resource_id/rid), e.g. 'submit'. This is not the observation's element id ('el:...').
stable_keystringAccept a published element handle (el:...) or a reusable selector key (e.g. rid:continueBtn). Prefer the observation's id: handles follow the same identified item across reordering and refuse an unava…
textstringMatch by visible text.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

select_option

Select one native single-choice option by exact value or label; returns its screen.

ParameterTypeDescription
id *integer | stringCopy an element's id from the latest observation, including stable strings like 'el:...'. Also accepts a current-frame numeric ordinal. Do not put this id in rid.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
labelstring
observebooleanAlso return the post-action screen analysis.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
valuestring
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

input_and_analyze

Type text into the element with the given id; optionally use the IME submit action or name one explicit semantic app send control. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
id *integer | stringCopy an element's id from the latest observation, including stable strings like 'el:...'. Also accepts a current-frame numeric ordinal. Do not put this id in rid.
text *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
sendstringStable id of the app's explicit send control.
submitboolean
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

swipe_and_analyze

Swipe a direction (up|down|left|right) or by explicit [x1,y1,x2,y2] coordinates. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
coordsarray
directionstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

drag_and_analyze

Drag: press at the start, optionally hold still (hold_ms), move smoothly to the end over duration_ms, release without a fling. Use it for games, sliders, pull-to-aim, drag-and-drop and reordering; use swipe/scroll to move content. Start is an element (id/rid/text/desc) or from_coords; end is an element (to_id/to_rid/to_text/to_desc) or to_coords; coords=[x1,y1,x2,y2] sets both. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
coordsarrayStart and end as [x1,y1,x2,y2].
descstringMatch by content-desc.
duration_msinteger
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
from_coordsarrayA point as [x,y].
hold_msinteger
idinteger | stringCopy an element's id from the latest observation, including stable strings like 'el:...'. Also accepts a current-frame numeric ordinal. Do not put this id in rid.
indexinteger0-based index when the selector is ambiguous.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
ridstringMatch the app's resource/test id (resource_id/rid), e.g. 'submit'. This is not the observation's element id ('el:...').
textstringMatch by visible text.
to_coordsarrayA point as [x,y].
to_descstringEnd at the element with this content-desc.
to_idinteger | stringCopy an element's id from the latest observation, including stable strings like 'el:...'. Also accepts a current-frame numeric ordinal. Do not put this id in rid.
to_ridstringMatch the app's resource/test id (resource_id/rid), e.g. 'submit'. This is not the observation's element id ('el:...').
to_textstringEnd at the element with this text.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

key_and_analyze

Press a hardware/navigation key (back|home|enter|recents|KEYCODE_*). Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
name *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

back_until_and_analyze

Navigate back in one bounded call until semantic destination evidence is present. Re-resolves a visible Back/Navigate-up control on every fresh frame, then falls back to hardware Back. Returns the final analyzed screen and always stops if the foreground leaves the starting package. A bare mapped known_screen name is accepted directly.

ParameterTypeDescription
predicate *stringBare mapped known_screen name, or ANDed text:/rid:/desc: terms.
back_idintegerFresh frame-local id for an unlabeled Back control; first step only.
back_selectorobjectOptional app-owned Back selector, re-resolved on every frame.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
max_stepsinteger
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
poll_msinteger
step_timeout_msinteger

wait_and_analyze

Wait for text to appear (for_) or for the UI to go idle. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
for_string
idleboolean
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
timeoutinteger
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

wait_changed_and_analyze

Block until the accessibility hierarchy fingerprint changes (any UI tree change). Host-polled stand-in for a11y event push. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
interval_msinteger
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
timeout_msinteger
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

screenshot

Save a screenshot; set annotate=true to overlay Set-of-Marks numbers.

ParameterTypeDescription
annotateboolean
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
pathstring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

inspect

Return full attributes for one element id from the last analyze.

ParameterTypeDescription
id *integer | stringCopy an element's id from the latest observation, including stable strings like 'el:...'. Also accepts a current-frame numeric ordinal. Do not put this id in rid.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

long_press_and_analyze

Long-press a current element id or a fresh semantic selector (context menus). Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
descstringMatch by content-desc.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
idinteger | stringCopy an element's id from the latest observation, including stable strings like 'el:...'. Also accepts a current-frame numeric ordinal. Do not put this id in rid.
indexinteger0-based index when the selector is ambiguous.
msinteger
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
ridstringMatch the app's resource/test id (resource_id/rid), e.g. 'submit'. This is not the observation's element id ('el:...').
textstringMatch by visible text.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

back_gesture_and_analyze

Perform Android's left-edge back gesture without accepting coordinates. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

mic_inject_and_analyze

Inject a host U8/S16 PCM WAV into an Android Emulator microphone. An optional control defaults to push-to-talk hold, or can tap once to start and once to stop. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
path *stringHost path to a PCM WAV.
boundsarrayWhere stable_key was seen, as [x1,y1,x2,y2]. Only used to pick between several elements sharing that key, as reusable list rows do.
control_modestringhold = DOWN/audio/UP; toggle requires an initially-off target and uses one non-retrying tap to start and one to stop.
descstringMatch by content-desc.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
firstbooleanTake the first match.
idinteger | stringCopy an element's id from the latest observation, including stable strings like 'el:...'. Also accepts a current-frame numeric ordinal. Do not put this id in rid.
indexinteger0-based index when the selector is ambiguous.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
post_roll_msinteger
pre_roll_msinteger
ridstringMatch the app's resource/test id (resource_id/rid), e.g. 'submit'. This is not the observation's element id ('el:...').
stable_keystringAccept a published element handle (el:...) or a reusable selector key (e.g. rid:continueBtn). Prefer the observation's id: handles follow the same identified item across reordering and refuse an unava…
textstringMatch by visible text.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

mic_speak_and_analyze

On macOS, synthesize text with /usr/bin/say and inject it into an Android Emulator microphone; optionally hold one control or toggle it on then off. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
speech *string
boundsarrayWhere stable_key was seen, as [x1,y1,x2,y2]. Only used to pick between several elements sharing that key, as reusable list rows do.
control_modestringhold = DOWN/audio/UP; toggle requires an initially-off target and uses one non-retrying tap to start and one to stop.
descstringMatch by content-desc.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
firstbooleanTake the first match.
idinteger | stringCopy an element's id from the latest observation, including stable strings like 'el:...'. Also accepts a current-frame numeric ordinal. Do not put this id in rid.
indexinteger0-based index when the selector is ambiguous.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
post_roll_msinteger
pre_roll_msinteger
rateinteger
ridstringMatch the app's resource/test id (resource_id/rid), e.g. 'submit'. This is not the observation's element id ('el:...').
stable_keystringAccept a published element handle (el:...) or a reusable selector key (e.g. rid:continueBtn). Prefer the observation's id: handles follow the same identified item across reordering and refuse an unava…
textstringMatch by visible text.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
voicestringInstalled macOS say voice.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

scroll_to_and_analyze

Scroll until the given text is visible; returns whether it was found. It searches ONE way: `direction` up (default) looks further down the list, down looks back up. A list that opens already scrolled past the target needs `down`. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
text *string
directionstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
ignore_caseboolean
matchstring
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

wait_stable_and_analyze

Wait until the screen stops visually changing (perceptual hash; works on opaque/Compose/video screens) — for loading / image generation. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
intervalinteger
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
settleinteger
timeoutinteger
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

goto

Drive to a remembered screen via the learned app map: replays the recorded steps of each route edge and verifies each hop. Risky deeplink, external, settings/data/lifecycle, and non-navigation effects are previewed and refused before execution unless allow_unsafe=true. plan=true previews without acting. assist=true lets the opt-in planner recover a divergence (needs planner.enabled). from_here=true resumes mid-edge when you already navigated part of the way.

ParameterTypeDescription
goal *stringScreen name or fuzzy goal, e.g. 'settings'.
allow_destructiveboolean
allow_unsafebooleanPermit disclosed non-navigation route effects after reviewing the preview.
assistboolean
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
from_herebooleanResume mid-edge from the first matching step on the current screen.
max_stepsinteger
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
planboolean

flow_run

Replay a saved, file-backed, or inline-YAML flow (whole journey — launch, taps, waits, asserts, cross-app auth) in one call; on divergence returns the failing step index + remaining steps, resumable via from_step. assist=true lets the opt-in planner clear a blocker and resume (needs planner.enabled). Optional artifacts_dir writes portable evidence and JUnit.

ParameterTypeDescription
allow_destructiveboolean
artifacts_dirstring
assistboolean
dry_runboolean
evidencestring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
filestring
from_stepinteger
junitboolean
namestring
paramsobject${NAME} placeholder values.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
yamlstring

navigate

Drive to a natural-language goal with the opt-in planner LLM (needs planner.enabled), recording the path so a later goto replays it for free. until=<text> stops deterministically; save_flow saves the path.

ParameterTypeDescription
goal *stringe.g. 'open the image generator'.
allow_destructiveboolean
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
max_stepsinteger
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
save_flowstring
untilstring

list_devices

List attached devices (serial, model, android version, state).

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

teardown_status

List pending undos and blocked ledger files without connecting to a target.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

teardown_run

Replay safe pending undos; force bypasses leases, never boot/configuration proof.

ParameterTypeDescription
dry_runboolean
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
forceboolean
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
target_idstring

teardown_discard

Explicitly abandon named stale undos on an unleased target. Archives evidence but does not connect to or restore the device. Requires human authorization.

ParameterTypeDescription
confirmed *boolean
keys *array
reason *string
target_id *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

virtual_target_list

List reusable virtual-target definitions for the selected platform.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

virtual_target_status

Show configured, running, and AUA-owned virtual targets.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

virtual_target_start

Start one selected-platform virtual target without opening a session.

ParameterTypeDescription
animationsboolean
audioboolean
definition_idstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
headlessboolean
optionsobjectOpaque options validated by the selected adapter.
ownerstring
parallelboolean
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
waitnumber

virtual_target_provision

Select and start a compatible virtual target as one Engine operation.

ParameterTypeDescription
animationsboolean
audioboolean
definition_idstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
headlessboolean
needsarray
optionsobjectOpaque options validated by the selected adapter.
ownerstring
parallelboolean
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
waitnumber

virtual_target_create

Create or idempotently reuse a selected-platform target definition.

ParameterTypeDescription
definition_id *string
confirmedbooleanRequired when replace=true because saved data may be lost.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
optionsobject
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
replaceboolean

virtual_target_delete

Delete a stopped virtual-target definition after confirmation.

ParameterTypeDescription
definition_id *string
confirmedboolean
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
optionsobject
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

virtual_target_stop

Stop selected virtual targets while preserving foreign live leases.

ParameterTypeDescription
allboolean
definition_idstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
mineboolean
ownerstring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
target_idstring

virtual_target_reclaim

Re-arm retirement supervision for AUA-owned orphan instances.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
idle_stopnumber
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

emulator_list

List configured Android Virtual Devices (AVD names, Play Store vs rootable).

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

emulator_status

SDK/AVD tooling + running emulator serials + what aua started (owner/port for parallel agents).

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

emulator_start

Boot an AVD headless (default) for unattended verify. Use parallel=true when multiple agents share a host (unique port + read-only + owner). Automatically clears a confirmed unowned proxy black hole inherited from the AVD; reachable foreign and AUA-owned proxies are preserved. This provisions an AVD but does not open a goal session; agents should call session_start for automatic selection/provisioning/leasing. Ordinary device tools follow the owner's one automatic sticky lease and do not repeat a serial. REQUIRED: call emulator_stop when done (or stop_mine) — orphaned AVDs burn CPU. Idle aut…

ParameterTypeDescription
animationsboolean
audiobooleanKeep host audio enabled for emulator microphone injection.
avdstringAVD name (omit if only one exists).
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
gpustring
headlessboolean
idle_stopintegerAuto-stop after N seconds idle (0=never). Headless only.
ownerstringOwner tag for scoped stop (default $AUA_OWNER or auto).
parallelbooleanSafe multi-agent boot: free -port, -read-only, owner tag.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
portintegerEven console port 5554–5682 (auto with parallel).
read_onlyboolean
waitinteger

emulator_stop

Stop emulator(s) aua started. ALWAYS call before ending a session that booted an AVD. Prefer serial= for parallel agents; mine=true stops aua-started (scoped by owner / $AUA_OWNER when set).

ParameterTypeDescription
allbooleanKill EVERY running emulator (dangerous).
avdstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
minebooleanStop aua-started records (filter by owner if set).
ownerstringStop only this owner's instances.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
serialstringKill this emulator serial only.

double_tap_and_analyze

Double-tap the element with the given id. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
id *integer | stringCopy an element's id from the latest observation, including stable strings like 'el:...'. Also accepts a current-frame numeric ordinal. Do not put this id in rid.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

clear_and_analyze

Focus an element and clear its text field. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
id *integer | stringCopy an element's id from the latest observation, including stable strings like 'el:...'. Also accepts a current-frame numeric ordinal. Do not put this id in rid.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

scroll_and_analyze

Scroll a direction (up|down|left|right); optional percent of the scrollable container. Directions follow the finger, as on a phone: up shows what is further down the page. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
direction *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
percentinteger
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

expect_and_analyze

Assert something about the screen (exists/absent/text/state). ok=false means the assertion failed. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
absentboolean
checkedboolean
contains_allarray
countinteger
descstring
enabledboolean
existsboolean
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
firstboolean
focusedboolean
indexinteger
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
poll_msinteger
ridstring
same_parent_asobject
selectedboolean
textstring
text_containsstring
text_isstring
timeout_msinteger
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
withinobject

hide_keyboard_and_analyze

Dismiss the soft keyboard (prefer over key back when the IME is up). Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

clipboard_set

Set the device clipboard to the given text.

ParameterTypeDescription
text *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

clipboard_get

Read the device clipboard.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

paste_and_analyze

Paste the clipboard into the focused field. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

copy_text

Copy an element's text/content-desc to the clipboard (by id or rid/text/desc selector).

ParameterTypeDescription
boundsarrayWhere stable_key was seen, as [x1,y1,x2,y2]. Only used to pick between several elements sharing that key, as reusable list rows do.
descstringMatch by content-desc.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
firstbooleanTake the first match.
idinteger | stringCopy an element's id from the latest observation, including stable strings like 'el:...'. Also accepts a current-frame numeric ordinal. Do not put this id in rid.
indexinteger0-based index when the selector is ambiguous.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
ridstringMatch the app's resource/test id (resource_id/rid), e.g. 'submit'. This is not the observation's element id ('el:...').
stable_keystringAccept a published element handle (el:...) or a reusable selector key (e.g. rid:continueBtn). Prefer the observation's id: handles follow the same identified item across reordering and refuse an unava…
textstringMatch by visible text.

erase_and_analyze

Erase text in a field: focus (optional id) then delete chars or clear all. Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
boundsarrayWhere stable_key was seen, as [x1,y1,x2,y2]. Only used to pick between several elements sharing that key, as reusable list rows do.
charsintegerDelete this many characters; omit to clear all.
descstringMatch by content-desc.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
firstbooleanTake the first match.
idinteger | stringCopy an element's id from the latest observation, including stable strings like 'el:...'. Also accepts a current-frame numeric ordinal. Do not put this id in rid.
indexinteger0-based index when the selector is ambiguous.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
ridstringMatch the app's resource/test id (resource_id/rid), e.g. 'submit'. This is not the observation's element id ('el:...').
stable_keystringAccept a published element handle (el:...) or a reusable selector key (e.g. rid:continueBtn). Prefer the observation's id: handles follow the same identified item across reordering and refuse an unava…
textstringMatch by visible text.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

location_set

Set GPS mock location (lat, lon).

ParameterTypeDescription
lat *number
lon *number
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

orientation_set

Set screen orientation (portrait|landscape|…).

ParameterTypeDescription
mode *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

orientation_get

Get the current screen orientation.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

airplane_set

Enable or disable airplane mode.

ParameterTypeDescription
enabled *boolean
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

airplane_toggle

Toggle airplane mode.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

network_status

Read and verify airplane, Wi-Fi, mobile-data, and active default-network state.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
verifybooleanAccepted for CLI/MCP command-family parity; status always reads back the current Android state.

network_offline

Save current network controls, disable transports, and verify the device has no active default network. Always pair with network_restore.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
timeout_msinteger
verifyboolean

network_restore

Restore and verify the network controls saved by network_offline.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
timeout_msinteger

network_profile_list

List reversible Wi-Fi, cellular, slow, and lossy profiles.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

network_profile_status

Read the active network profile and verify its current evidence.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

network_profile_apply

Apply one reversible profile: wifi-only, cellular-only, slow, or lossy. Restore the active profile before applying another.

ParameterTypeDescription
profile *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
loss_percentnumber
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
timeout_msinteger

network_profile_restore

Restore and verify conditions saved before the active profile.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
timeout_msinteger

media_add

Push a local media file onto the device (DCIM/Camera by default).

ParameterTypeDescription
path *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

screen_record_start

Start native screen video. Android rotates original MP4 segments for up to 30 minutes; rotation is not guaranteed gapless. Startup success does not prove continuous coverage. For HTTP traffic use mock_record.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
pathstringTarget path override; the selected platform chooses its default.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

screen_record_stop

Stop native video and save a playable MP4 at PATH (also returned in detail). Android retains PATH.segments/ and PATH.recording.json; multiple segments require host ffmpeg. Inspect lifecycle, gaps and duration_check; failed coverage returns ok=false. Native within-segment timing is preserved; joined media omits gaps. Coverage is unverified; no missing footage is synthesized. Encoder failure salvages finalized segments with failed coverage; partial originals and pending cleanup are reported. No playable segments is an error with retained diagnostics. Export failures retain remote evidence for re…

ParameterTypeDescription
path *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

record_start

Deprecated alias for screen_record_start. Starts MP4 SCREEN VIDEO, never HTTP traffic; use mock_record for traffic.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
pathstring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

record_stop

Deprecated alias for screen_record_stop; saves playable MP4 at PATH, with original segments and unverified coverage sidecar on Android.

ParameterTypeDescription
path *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

capture_status

Status of this persistent server's rolling capture buffer.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

capture_last

Return recent capture frames + cheap local diff summary.

ParameterTypeDescription
evidence_refstringExact capture_evidence.ref from an action/job; excludes seconds/since.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
regionstringFilter diff to a 3×3 cell (center, upper, left, …).
secondsnumber
sincestringUse 'last-action' for frames since the last tap/input.
where_ridstringInfer region from a resource-id's last-known center.

capture_export

Export recent capture frames to a GIF (or MP4 with imageio).

ParameterTypeDescription
path *string
evidence_refstringReuse exact action/job frame window, including a previous sheet's window.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
formatstringgif|mp4
fpsnumber
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
secondsnumber
sincestring

capture_sheet

Export an evenly sampled PNG contact sheet with relative timestamps; does not require ffmpeg.

ParameterTypeDescription
path *string
columnsinteger
evidence_refstringExact capture_evidence.ref; the first read/export fixes the frame list.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
max_framesinteger
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
secondsnumber
sincestringUse 'last-action' for post-action frames.
timestampsboolean

capture_explain

Narrate recent capture (local summary; optional LLM).

ParameterTypeDescription
evidence_refstringExact capture_evidence.ref from an action/job; excludes seconds/since.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
llmboolean
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
secondsnumber
sincestring

clock_set

Set the device clock to a Unix timestamp in milliseconds.

ParameterTypeDescription
ms *integerUnix timestamp in milliseconds.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

dev_profile

Apply developer-option profile: ac (anim off + crashes on) or default.

ParameterTypeDescription
name *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

a11y_scroll_and_analyze

Accessibility scroll on an element (forward or backward). Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
directionstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
idinteger | stringCopy an element's id from the latest observation, including stable strings like 'el:...'. Also accepts a current-frame numeric ordinal. Do not put this id in rid.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
ridstringMatch the app's resource/test id (resource_id/rid), e.g. 'submit'. This is not the observation's element id ('el:...').
textstring
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.

flags_apply_and_analyze

Apply feature flags from a YAML file via the package's configured deeplink template, verify them against the app's shared_prefs, and restart the app (flags read at cold start need the restart). Returns the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
path *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
observe_fieldsstringColumns to keep in the returned `observation` ('all' = full dump). Defaults to a compact view. This is the cost dial the renamed tools kept instead of `observe`: the screen always comes back — that…
observe_metastring`meta` keys to keep in the returned `observation`: 'changed' (default — did the screen move, where am I, plus anything you must not miss), 'all', or a comma-separated key list. The second cost dial,…
packagestring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
restartboolean
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
verifyboolean

map_audit

Audit a learned map and persist source/runtime research tasks for poor names, variants/states, contexts, and untrusted routes.

ParameterTypeDescription
package *string
contextstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

reconcile_plan

Create canonical research tasks for an external agent. AUA does not spawn the agent.

ParameterTypeDescription
package *string
contextstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

reconcile_submit

Submit a structured external-agent report. verdict=apply is validated, committed atomically, and given a rollback id.

ParameterTypeDescription
package *string
report *object
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

reconcile_status

List research tasks, queued reports, and correction events.

ParameterTypeDescription
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

reconcile_apply

Apply a queued review report by task id.

ParameterTypeDescription
package *string
task_id *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

reconcile_rollback

Restore the transaction snapshot for a correction event.

ParameterTypeDescription
package *string
rollback_id *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

knowledge_list

List provenance-bearing app knowledge. With query, return only accepted facts whose aliases, name or text match that goal phrasing, best first.

ParameterTypeDescription
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
querystring
statusstring

knowledge_add

Save feedback or source/runtime research for future agents.

ParameterTypeDescription
package *string
text *string
agentstring
aliasesarray
contextstring
evidencearray
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
kindstring
namestring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
sessionstring
sourcestring

prepare_start

Before testing an unfamiliar claim: get the short list of things AUA cannot work out for itself (build, sign-in, what the pre-condition is in code, how to reach it, UI-only or end-to-end, and what must be on screen). Questions the app map already answers are not asked.

ParameterTypeDescription
goal *string
package *string
contextstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

prepare_answer

Answer prepare_start's questions. When none are left this writes the contract, saves the scenario, and returns the run command plus the translation of every answer into an assertion - check it before running.

ParameterTypeDescription
answers *object
package *string
prepare_id *string
agentstring
artifacts_dirstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
rememberboolean

prepare_run

Run a prepared scenario end to end and return the verdict with every screenshot, video and report it produced. AUA drives the device itself when a controller model is configured; otherwise the exact commands to drive it come back instead. The result always says which, and which files a person must read before the bundle is shared.

ParameterTypeDescription
package *string
scenario *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
outputstring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
timeout_snumber

prepare_show

Show one interview without changing it.

ParameterTypeDescription
package *string
prepare_id *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

prepare_discard

Drop an unfinished preparation interview. Saved scenarios are untouched; returns whether an in-progress interview was removed.

ParameterTypeDescription
package *string
prepare_id *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

prepare_list

Interviews in flight and scenarios already prepared for this app.

ParameterTypeDescription
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

knowledge_stale

Mark one knowledge item stale while retaining its evidence.

ParameterTypeDescription
id *string
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

proxy_start

Start headless mitmproxy + device http_proxy (needs [proxy] extra).

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
portintegermitmdump listen port; 0 = free random high port.

proxy_stop

Stop mitmproxy and clear the device HTTP proxy.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

proxy_status

Is interception ACTUALLY working end to end? Returns state=unproxied|healthy|degraded|foreign|blackholed plus owned/intercepting. Diagnoses a device pointed at a proxy no aua owns — including the black-hole state where every app request fails with ConnectException.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
healbooleanRe-establish a dropped adb reverse tunnel when the process and device setting already check out. Never heals a proxy this session cannot prove is its own.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

mock_replay

Load a YAML cassette as live HTTP mock rules.

ParameterTypeDescription
name *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

mock_record

Record live HTTP traffic into a named YAML cassette (start|stop). Records requests/responses through the proxy, not screen video — for video use screen_record_start. Requires proxy_start first.

ParameterTypeDescription
action *stringBegin or end the recording window.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
namestringCassette name; required for start.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

mock_map

Arm one ad-hoc HTTP mock rule: answer METHOD PATH with a fixed status and body. Appends to the live rules the proxy already reloads, so no restart is needed.

ParameterTypeDescription
method *stringHTTP method, for example GET or POST.
path *stringRequest path to match, for example /v1/hub.
bodystringResponse body to answer with.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
statusintegerStatus code to answer with.

mock_rewrite

Arm one HTTP rule that lets the request REACH the server and then patches the real response — status, headers, or individual JSON fields. Use this instead of mock_map to reproduce a server-side condition (a 429, a missing field) on real data. A rule with no host and a catch-all path is refused: it would also intercept the platform's connectivity probes and the device would look offline.

ParameterTypeDescription
method *stringHTTP method, for example GET or POST. `*` matches any.
path *stringRequest path to match, for example /v1/hub.
bodystringReplace the whole response body.
delete_jsonarrayJSON field paths to delete.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
headersobjectResponse headers to set.
hoststringRestrict the rule to one host.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
set_jsonobjectJSON fields to set, keyed by path: `items[0].title` or `items.0.title`, values as-is.
statusintegerReplace the response status code.
timesintegerFire at most N times; 0 means every time.

app

Inspect or control the foreground app (foreground|stop|kill|clear|grant|uninstall|current). Use app_launch_and_analyze to launch. Uninstall removes the app and all its data; requires confirmed=true.

ParameterTypeDescription
action *string
activitystring
argumentsarrayProcess arguments for the launched app, in order (iOS simulators only; Android has none and refuses them).
clear_stateboolean
confirmedboolean
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
packagestring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

app_launch_and_analyze

Launch an app and return the analyzed resulting screen in `observation`; use its fresh ids directly and do not call analyze_screen next.

ParameterTypeDescription
package *string
activitystring
argumentsarrayProcess arguments for the launched app, in order (iOS simulators only; Android has none and refuses them).
clear_stateboolean
confirmedbooleanRequired when clear_state=true because it wipes app data.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
untilstringAfter the action, wait for comma-separated semantic terms such as 'rid:result,!text:Loading', then return that settled screen in this same call. At least one term must be positive arrival evidence.
until_pollintegerMilliseconds between until predicate checks.
until_timeoutintegerMaximum milliseconds to wait for until.
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

app_status

Read package presence and version from AUA's leased target. This is read-only; the result includes the exact selected serial.

ParameterTypeDescription
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

shell_read_only

Run one bounded read-only diagnostic command on AUA's leased target. Every argv item is quoted before Android's remote shell parses it; unknown or mutating verbs are refused, and each output stream is capped at 256 KiB.

ParameterTypeDescription
argv *arrayCommand argv, for example ['pm', 'path', 'com.example.app'].
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
timeout_msinteger

install_app

Install an app bundle (.apk) on the device instead of shelling out to `adb install`. Idempotent: an app already there at the bundle's version is left alone. With launch=true it also opens the app and returns the resulting screen in `observation` — use its fresh ids and do not call analyze_screen next.

ParameterTypeDescription
bundle *stringHost path to the .apk to install.
activitystring
confirmedbooleanRequired when mode=fresh because it wipes app data.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
grant_permissionsbooleanPre-grant runtime permissions. Off by default: it skips the permission dialog a scenario may be there to verify.
launchboolean
modestringDiffers only when the app is already installed. if-needed: skip unless the version differs. reinstall: push anyway, keeping app data. fresh: uninstall first (wipes data; the only mode that survives a…
packagestringOptional assertion: fail if the bundle declares another package id.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
timeout_msinteger
with_imageboolean | stringKeep the returned frame (true or destination path); false disables output. Overrides configure default without another capture.

helper_status

Report whether the selected platform's optional on-device helper is installed, enabled, bound, and ready.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

helper_install

Explicitly install the selected platform's optional device helper.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
forceboolean
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
reinstallboolean

helper_enable

Enable the optional device helper through the shared Engine path, with write-ahead restoration of device state.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

helper_model_run

After one platform-neutral helper handoff, run DeepSeek V4.1 Flash's complete observe/act/verify loop on the target. The server reads the provider key from its environment; credentials are never accepted as tool arguments.

ParameterTypeDescription
checks *array
goal *string
api_key_envstring
cost_limit_usdnumber
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
max_stepsinteger
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
time_limit_snumber

helper_disable

Disable the optional device helper and restore its saved setup state.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

helper_remove

Disable and explicitly uninstall the optional device helper.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

database_list

List a debuggable package's private SQLite databases and WAL/SHM sizes.

ParameterTypeDescription
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

database_schema

Return tables/views, columns, indexes, foreign keys, and CREATE SQL.

ParameterTypeDescription
database *string
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
restartboolean
tablestring

database_query

Run one read-only SQLite statement against a private-database snapshot and return columns plus JSON rows. By default this keeps the app running and preserves navigation/UI state. Pass `live: false` only when a transactionally coherent snapshot is required; that force-stops the app and the result's `warning` says the previous UI state is gone.

ParameterTypeDescription
database *string
package *string
sql *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
limitinteger
livebooleanKeep the app running and preserve UI state (default). Set false for a coherent stop-first snapshot. Ignores `restart` when true.
parametersSQLite bind parameters as a JSON array or object.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
restartboolean
timeout_msinteger

database_execute

Execute confirmed INSERT/UPDATE/DELETE/REPLACE/WITH statements. Stops the app, creates a restore point, validates integrity/foreign keys, replaces the database without stale sidecars, and relaunches by default.

ParameterTypeDescription
confirmed *booleanMust be true after reviewing the data mutation.
database *string
package *string
sql *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
parametersSQLite bind parameters as a JSON array or object.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
restartboolean
timeout_msinteger

database_backup

Create a private host restore point with the database and sidecars.

ParameterTypeDescription
database *string
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
restartboolean

database_backups

List restore points scoped to this device, package, and database.

ParameterTypeDescription
database *string
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

database_restore

Restore a confirmed database backup after preserving the current state as a new safety backup.

ParameterTypeDescription
backup_id *string
confirmed *booleanMust be true after reviewing the restore point id.
database *string
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
restartboolean

datastore_list

List a debuggable package's Jetpack DataStore preference files. These hold theme, onboarding and similar app state; feature flags live in shared_prefs.

ParameterTypeDescription
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

datastore_get

Read one DataStore file as typed key/value pairs. Does not stop the app, so the caller keeps its navigation state.

ParameterTypeDescription
datastore *string
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
keysarray
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

datastore_set

Merge typed values into one DataStore file: force-stops the app (a running app never re-reads the file), takes a restore point, writes, and relaunches by default. Keys not named are preserved. The app is back at its cold-start screen afterwards, so re-navigate.

ParameterTypeDescription
confirmed *booleanMust be true after reviewing the values to write.
datastore *string
package *string
values *objectKeyed by preference name. Either a bare JSON value, or {"type": "bool|int|long|float|double|string|string_set", "value": ...} when the stored type must be pinned.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
restartboolean

datastore_backup

Copy one DataStore file to a private host restore point.

ParameterTypeDescription
datastore *string
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
reasonstring

datastore_backups

List restore points scoped to this device, package, and datastore.

ParameterTypeDescription
datastore *string
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

datastore_restore

Restore a confirmed datastore backup after preserving the current state as a new safety backup.

ParameterTypeDescription
backup_id *string
confirmed *booleanMust be true after reviewing the restore point id.
datastore *string
package *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
restartboolean

resolve

Remap a previous-frame id or stable_key onto the current screen.

ParameterTypeDescription
target *A published stable id, or a legacy frame-local integer id.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

browser_status

Show the active browser page, pages/frames, supported controls, and network state.

ParameterTypeDescription
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

browser_logs

Read or clear browser console, page error, request, response, and WebSocket events.

ParameterTypeDescription
actionstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
kindsarray
limitinteger
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
since_msinteger

browser_storage

Inspect, export, import, clear, or reset browser storage and HTTP cache.

ParameterTypeDescription
actionstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
include_valuesbooleanInclude potentially sensitive cookie/storage values.
kindsarray
pathstring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

browser_network

Inspect network controls or set online/offline and latency/bandwidth throttling.

ParameterTypeDescription
actionstring
download_kbpsinteger
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
latency_msinteger
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
upload_kbpsinteger

browser_cors

Add a host-scoped CORS response rule or clear all AUA CORS rules.

ParameterTypeDescription
action *string
credentialsboolean
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
headersarray
hostsarray
methodsarray
originstring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

browser_proxy

Set or clear the browser-context proxy; credentials stay in server environment variables.

ParameterTypeDescription
action *string
bypassstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
password_envstring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
serverstring
usernamestring

browser_har

Start/stop HAR recording or enable/clear deterministic HAR replay.

ParameterTypeDescription
action *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
not_foundstring
pathstring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
urlstring

browser_mock

Add a browser request response/abort mock or clear one/all mocks.

ParameterTypeDescription
action *string
abortboolean
bodystring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
headersobject
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
rule_idstring
statusinteger
urlstring

browser_pages

List pages/frames, select a popup/tab, or close one page.

ParameterTypeDescription
actionstring
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
page_idstring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

browser_trace

Start a Playwright trace or stop it into a new trace archive path.

ParameterTypeDescription
action *string
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
pathstring
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.

configure

Set session defaults for subsequent action tools (e.g. with_image on every observation, or which app log levels they fold in).

ParameterTypeDescription
agent_responsebooleanReturn a shared agent envelope with explicit success/error, current session context, and the observation/image already produced by this call. Persists on this MCP server; false restores legacy respons…
app_log_ignore_tagsarrayTags to drop this session, on top of the built-in noisy list. Replaces the current session list; [] clears it.
app_log_keep_tagsarrayTags to report despite the built-in noisy list, this session. Replaces the current session list; [] clears it.
app_log_levelsstringLog priorities to fold in, as a SET not a floor (default 'DWEF'). 'I' is noisier than 'D' on Android — measured, every 'I' line in a real launch window came from an SDK or the runtime — so widen t…
app_log_limitintegerLines folded into each action (default 20). Raise it for one stretch of a session; use app_log_prefs_set to keep it for an app.
app_log_only_tagsarrayFold in ONLY these tags this session; [] clears the list. 'F' lines survive it, so this cannot hide a crash.
app_log_per_tagintegerLines one tag may contribute before it is capped (default 5).
app_logsbooleanFold what the app logged during an action into its observation (default true). Set false to stop paying for it.
expect_errorstringExact machine-readable error code intentionally probed by this invocation; session review treats it as expected only when the returned code matches.
phase_doneobjectOptional checkpoint from the previous result. It advances the current goal phase without an extra tool call before this tool runs.
with_imagebooleanDefault with_image for action tools that observe.