podium-mcp
v0.4.0Mobile E2E MCP (51 tools): iOS + Android, native UI + canvas/WebGL, no-vision, RN debug
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
podium_health
Returns health status of the podium-mcp server and toolchain availability. Scope: iOS (simulator + real device), Android (emulator + real via adb), game-engine (Unity/GL via AltTester), and no-vision canvas/WebGL automation. macOS + Xcode required; adb for Android, an instrumented build for engine tools.
device_list
Returns a merged inventory of available iOS simulators (udid, name, state, runtime) plus any adb-detected Android devices. If adb is absent, the android section reports availability: false instead of failing. NOTE: Android entries are detection-only — podium's automation tools (tap/inspect/etc.) currently target iOS simulators.
device_boot
Boots an iOS simulator by UDID. Waits up to 30 seconds for the boot command to complete. Idempotent: booting an already-booted device returns ok with alreadyBooted:true.
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator UDID (from device_list) |
app_install
Installs an app on an iOS simulator. Accepts a path to a .app directory or a .zip archive.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the .app directory or .zip file to install |
udid * | string | Simulator UDID |
app_launch
Launches an app on an iOS simulator by bundle ID.
| Parameter | Type | Description |
|---|---|---|
bundleId * | string | App bundle identifier (e.g. com.example.MyApp) |
udid * | string | Simulator UDID |
app_terminate
Terminates a running app on an iOS simulator by bundle ID.
| Parameter | Type | Description |
|---|---|---|
bundleId * | string | App bundle identifier |
udid * | string | Simulator UDID |
screenshot
Takes a screenshot of an iOS simulator. Returns the saved file path and byte size. Does NOT return base64 to keep payload small. saveTo defaults to a .png file in os.tmpdir().
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator UDID |
saveTo | string | Destination file path (must end .png or .jpg). Defaults to a tmp file. |
open_url
Opens a URL on an iOS simulator (deep-links, https:// etc.).
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator UDID |
url * | string | URL to open on the simulator |
set_location
Sets the simulated GPS location on a running iOS simulator. Codifies the QA geo-spinner fix: use this to unblock location-gated features during QA testing without moving the physical device.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | Latitude in decimal degrees |
longitude * | number | Longitude in decimal degrees |
udid * | string | Simulator UDID |
app_list
Returns the list of installed apps on a booted iOS simulator. Includes bundle ID, display name, and application type (User/System).
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator UDID (from device_list) |
app_uninstall
Uninstalls an app from an iOS simulator by bundle ID.
| Parameter | Type | Description |
|---|---|---|
bundleId * | string | App bundle identifier to uninstall (e.g. com.example.MyApp) |
udid * | string | Simulator UDID |
screen_size
Returns the pixel dimensions of a booted iOS simulator screen by taking a temp screenshot and reading its pixel dimensions with sips.
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator UDID |
orientation_get
Returns the current orientation of a booted iOS simulator. Queries the native backend (mobilecli) when available for an exact answer; otherwise derives it from the screenshot aspect ratio.
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator UDID |
record_start
Starts a screen recording on a booted iOS simulator. The recording runs in a detached background process. Call record_stop to finalize and retrieve the file.
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator UDID |
saveTo | string | Destination file path (must end .mp4). Defaults to a tmp file. |
record_stop
Stops the active screen recording for an iOS simulator. Sends SIGINT to flush the video file, waits for the file size to stabilize, and returns the path and size.
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator UDID |
inspect_screen
Returns the current view hierarchy for a booted iOS simulator (podium's target platform). Uses idb's flat accessibility tree when idb is installed (fast), else maestro hierarchy. Defaults to compact:true — a flattened list of only the nodes that carry text / accessibility labels / resource-ids (dramatically smaller than the raw tree). Pass compact:false for the full nested hierarchy. LIMITATION: WebView (WKWebView/WebView) content is opaque — the hierarchy shows a single WebView node with no children. Web-rendered buttons, inputs, and labels are invisible to this tool. For WebView apps, id…
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator / device UDID (from device_list) |
compact | boolean | Return a flattened list of meaningful nodes only (default true). false = full nested tree. |
tap_on
Tap, double-tap, or long-press an element on screen via an ephemeral Maestro flow. Target by text (regex), accessibility id, or absolute x/y coordinates. bundleId is REQUIRED — Maestro needs it for the appId flow header. WebView caution: text/id selectors only resolve native accessibility nodes. Web-rendered elements inside WKWebView are invisible — tap_on will report COMPLETED but nothing is tapped. Use x+y coordinates instead for WebView content.
| Parameter | Type | Description |
|---|---|---|
bundleId * | string | App bundle identifier (e.g. com.example.MyApp). Required by Maestro. |
udid * | string | Simulator / device UDID |
double | boolean | Use doubleTapOn instead of tapOn |
id | string | Accessibility ID of the element |
index | integer | Zero-based index when multiple elements match |
long | boolean | Use longPressOn instead of tapOn |
longDurationMs | integer | Hold duration for long press in ms (max 10 000) |
noLaunch | boolean | Skip the implicit launchApp attach step (default false). Set true when an open modal or navigation state must not be disturbed. |
text | string | Element text or regex. Matches the FULL label/value case-insensitively (anchored ^…$); an invalid regex falls back to a substring match. |
timeoutMs | integer | Flow timeout in ms (default 30 000) |
x | number | X coordinate in logical points (numeric only; percent strings are not supported) |
y | number | Y coordinate — required when x is provided |
input_text
Types text into the currently-focused element via an ephemeral Maestro flow. Set submit:true to press Enter after typing. Note: Android does not support Unicode via inputText. WebView caveat: inputText injects at the native buffer level — React onChange/onChangeText never fires. For WebView forms use mobile-mcp mobile_type_keys (real keystroke simulation) instead.
| Parameter | Type | Description |
|---|---|---|
bundleId * | string | App bundle identifier |
text * | string | Text to type |
udid * | string | Simulator / device UDID |
noLaunch | boolean | Skip the implicit launchApp attach step (default false). Set true when an open modal or navigation state must not be disturbed. |
submit | boolean | Press Enter after typing (default false) |
timeoutMs | integer | Flow timeout in ms |
swipe
Swipes in a direction or between two coordinates via an ephemeral Maestro flow. direction is always required; startX/startY/endX/endY are optional overrides expressed as percentage strings (e.g. '10%,50%') or pixel values.
| Parameter | Type | Description |
|---|---|---|
bundleId * | string | App bundle identifier |
direction * | string | Swipe direction |
udid * | string | Simulator / device UDID |
endX | string | End X |
endY | string | End Y |
noLaunch | boolean | Skip the implicit launchApp attach step (default false). Set true when an open modal or navigation state must not be disturbed. |
startX | string | Start X (e.g. '10%' or '120') |
startY | string | Start Y |
timeoutMs | integer | Flow timeout in ms |
press_key
Presses a hardware or system key via an ephemeral Maestro flow on the iOS simulator. Note: back/power/tab are Android key events and have no effect on iOS — they remain in the enum for a future Android backend. Valid keys: enter, home, lock, backspace, volume up, volume down, back, power, tab
| Parameter | Type | Description |
|---|---|---|
bundleId * | string | App bundle identifier |
key * | string | Key to press |
udid * | string | Simulator / device UDID |
noLaunch | boolean | Skip the implicit launchApp attach step (default false). Set true when an open modal or navigation state must not be disturbed. |
timeoutMs | integer | Flow timeout in ms |
orientation_set
Sets the screen orientation on an iOS simulator via an ephemeral Maestro flow. bundleId is required (Maestro needs it for the appId flow header). Valid values: PORTRAIT, LANDSCAPE_LEFT, LANDSCAPE_RIGHT, UPSIDE_DOWN
| Parameter | Type | Description |
|---|---|---|
bundleId * | string | App bundle identifier |
udid * | string | Simulator / device UDID |
value * | string | Target orientation: PORTRAIT | LANDSCAPE_LEFT | LANDSCAPE_RIGHT | UPSIDE_DOWN |
noLaunch | boolean | Skip the implicit launchApp attach step (default false). Set true when an open modal or navigation state must not be disturbed. |
timeoutMs | integer | Flow timeout in ms |
tap_with_fallback
Sends a raw coordinate tap via the native backend (idb if installed, else a Maestro tapOn-point fallback). Useful for WKWebView game overlays where visual position differs from the DOM hit-test position. The Maestro fallback needs an app context: pass bundleId, or the foreground app is auto-detected. VERIFICATION: 'ok' is decided primarily by a change in the native accessibility element set before/after the tap (stable under animation/video). When no native backend is present it falls back to a screenshot byte-size delta (weak — animation can flip it). The result's `oracle` field reports whi…
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator / device UDID |
x * | number | X coordinate in logical points |
y * | number | Y coordinate in logical points |
bundleId | string | App bundle id for the Maestro fallback (ignored when idb is present). Auto-detected if omitted. |
maxRetries | integer | Maximum tap attempts (default 3) |
offsetStep | number | Opt-in Y offset step in px applied per retry (default 0 = always tap the exact point; no blind walk). |
notification_bar_clear
Attempts to dismiss the React Native debug notification bar that sometimes appears at the bottom of the screen and intercepts taps. Taps the debug icons area at (50, 850) via the native backend (idb, else Maestro) and takes a before/after screenshot. NOTE: the (50,850) tap point is a device-specific heuristic, and 'cleared' is decided by a screenshot byte-size delta — a best-effort signal, not a guarantee (see tap_with_fallback caveat).
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator / device UDID |
bundleId | string | App bundle id for the Maestro fallback (ignored when idb is present). Auto-detected if omitted. |
run_steps
Execute an ordered batch of UI actions in ONE call via the native backend (idb/mobilecli, sub-second; Maestro fallback per step). Eliminates per-gesture MCP round-trips for fast continuous flows (login, navigation, form fill). Step actions: tap {x,y} · tapText {text|id} · type {text,submit} · key · swipe · waitFor {text,timeoutMs} · assertVisible {text} · waitMs · screenshot. Prefer `waitFor` over `waitMs` to act the instant the UI is ready instead of sleeping. WebView note: web-rendered text is invisible to tapText — use tap {x,y} for it; `type` uses real keystrokes so React onChang…
| Parameter | Type | Description |
|---|---|---|
steps * | array | Ordered list of actions to perform. |
udid * | string | Simulator / device UDID (from device_list) |
bundleId | string | App bundle id for Maestro fallbacks (auto-detected from the foreground app if omitted). |
stepDelayMs | integer | Optional fixed delay inserted after every step (default 0). |
stopOnError | boolean | Stop at the first failed step (default true). false = run all and report each. |
run_flow
Execute one or more Maestro flows on a device. Provide exactly one of: yaml (inline YAML string), files (array of flow file paths), or dir (directory path). includeTags and excludeTags are only applicable when using dir. When to use: run_flow gives the full Maestro vocabulary (assertions, conditionals, loops, retries); for a simple sequence of taps/types prefer run_steps, and for one gesture use the individual tools. TRUST BOUNDARY: Maestro flows can run arbitrary JS (evalScript) and local files (runScript/files/dir), so treat run_flow input as locally-executable code.
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator / device UDID (from device_list) |
dir | string | Directory containing .yaml flow files |
env | object | Environment variables passed to the flow |
excludeTags | array | Exclude flows tagged with these tags (dir mode only) |
files | array | Array of .yaml flow file paths |
includeTags | array | Only run flows tagged with these tags (dir mode only) |
timeoutMs | integer | Flow timeout in milliseconds (default 120 000) |
yaml | string | Inline Maestro YAML flow string (preferred for exploration) |
export_flow
Exports a run_steps action sequence to a reusable Maestro flow (the engineer→QA bridge). Selector-based steps (tapText by id/text, key, swipe-by-direction, waitFor, assertVisible, screenshot) transpile cleanly. The lossy steps — coordinate tap/swipe, focused-field type, regex tapText — are emitted as commented '# TODO[unstable]' lines plus a warnings[] list, never as silently divergent YAML. Fix the TODOs to make the flow durable regression.
| Parameter | Type | Description |
|---|---|---|
bundleId * | string | App bundle id for the flow's appId header |
steps * | array | The run_steps action array to transpile |
cheat_sheet
Returns the bundled Maestro flow script cheat sheet (offline copy). Consult this before authoring unfamiliar Maestro commands, required args, nested properties, conditionals, or multi-screen flows.
metro_apps
Lists React Native apps currently connected to a Metro bundler inspector. Returns CDP-style targets (id, title, webSocketDebuggerUrl). Returns a structured error if Metro is not running on the given port.
| Parameter | Type | Description |
|---|---|---|
port | integer | Metro dev server port (default 8081) |
metro_logs
Reads console logs from a React Native app via the Metro CDP debugger. If webSocketDebuggerUrl is omitted, auto-discovers via metro_apps and uses the first connected app. Reports which app was chosen. Pass saveTo to also write the console timeline to a file for evidence (e.g. attach to a bug).
| Parameter | Type | Description |
|---|---|---|
durationMs | integer | How long to collect logs in milliseconds (default 3000) |
maxLogs | integer | Maximum number of log entries to return (default 100, keeps most recent) |
port | integer | Metro port for auto-discovery (default 8081) |
saveTo | string | Optional file path; writes the console timeline (one line per entry: [level ts] text) for evidence. |
webSocketDebuggerUrl | string | CDP WebSocket URL from metro_apps. Omit to auto-discover. |
metro_network
Captures network requests from a React Native app via the Metro CDP debugger (Network domain). If webSocketDebuggerUrl is omitted, auto-discovers via metro_apps and uses the first connected app. Pairs requestWillBeSent with responseReceived by requestId (method, url, status, headers, timing). format:'har' emits a valid HAR 1.2 log (HAR-lite — no response bodies yet) you can open in Chrome DevTools → Import HAR; pass saveTo to write the .har file. Sensitive headers (authorization/cookie/…) are REDACTED by default — set redact:false to keep them (don't commit unredacted HAR: it leaks tok…
| Parameter | Type | Description |
|---|---|---|
durationMs | integer | How long to capture network activity in milliseconds (default 3000) |
format | string | Output format: 'json' (default, structured entries) or 'har' (HAR 1.2 log). |
maxEntries | integer | Maximum request entries to return (default 100, keeps most recent) |
port | integer | Metro port for auto-discovery (default 8081) |
redact | boolean | Mask sensitive headers (authorization/cookie/set-cookie/…). Default true. |
saveTo | string | Optional file path to write the output (a .har file when format:'har'). |
webSocketDebuggerUrl | string | CDP WebSocket URL from metro_apps. Omit to auto-discover. |
metro_state
Reads app state from a React Native app by evaluating a JS expression in its runtime via the Metro CDP debugger (Runtime.evaluate, returnByValue). Default expression reads a globally-exposed Redux store; override `expression` to read any in-app value. The app must expose the value on a global the runtime can reach. Auto-discovers the ws via metro_apps when omitted.
| Parameter | Type | Description |
|---|---|---|
expression | string | JS expression to evaluate (default: a globally-exposed Redux store's getState()). e.g. "store.getState().user" or "globalThis.__APP_STATE__". |
port | integer | Metro port for auto-discovery (default 8081) |
timeoutMs | integer | Evaluation timeout in ms (default 5000) |
webSocketDebuggerUrl | string | CDP WebSocket URL from metro_apps. Omit to auto-discover. |
crash_list
Lists crash reports (.ips/.crash) from ~/Library/Logs/DiagnosticReports — plus the simulator's own container DiagnosticReports when udid is given — sorted newest first. Filter by processName (case-insensitive substring) and/or sinceHours.
| Parameter | Type | Description |
|---|---|---|
processName | string | Case-insensitive substring to filter by process name |
sinceHours | number | Only include crashes from the last N hours |
udid | string | Simulator UDID — also scans that sim's container DiagnosticReports |
crash_get
Reads a crash report by its id (filename from crash_list). For .ips files returns a parsed JSON header and the report body (first ~8000 chars, truncated flag set if longer). Pass the same udid used for crash_list to also resolve sim-container reports. Path-traversal-safe.
| Parameter | Type | Description |
|---|---|---|
id * | string | Crash report filename (id from crash_list) |
udid | string | Simulator UDID — also looks in that sim's container DiagnosticReports |
app_state
Checks whether an app is installed and/or running on an iOS simulator. installed: exact bundle-id match against the parsed simctl listapps output; running: matches the launchctl UIKitApplication:<bundleId> label on a token boundary (no prefix false positives).
| Parameter | Type | Description |
|---|---|---|
bundleId * | string | App bundle identifier (e.g. com.example.MyApp) |
udid * | string | Simulator UDID |
webview_inspect
Lists embedded WebViews (WKWebView) on a booted simulator and, for the selected one, resolves a CSS selector to DOM elements WITH absolute on-screen tap coordinates. This is the answer to the 'WebView content is opaque' limitation of the coordinate tools: instead of eyeballing a screenshot, get tapX/tapY for a real DOM element and feed it straight into tap_on. Defaults to interactive elements when no selector is given. Requires the app's WKWebView to be inspectable (isInspectable=true) — on by default in debug/staging builds, frequently disabled in production App Store builds.
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator / device UDID (from device_list) |
max | integer | Maximum elements to return (default 100) |
selector | string | CSS selector (default: 'button, a, input, textarea, [role=button]') |
webviewId | string | Target WebView id (from a prior call). Omit to auto-select the first visible WebView. |
webview_eval
Evaluates a JavaScript expression in a WebView's page context and returns the result. Use it to read web-app state (location.href, store values, feature flags, on-screen balances) or to assert conditions against the live DOM. Requires the app's WKWebView to be inspectable (isInspectable=true) — on by default in debug/staging builds, frequently disabled in production App Store builds.
| Parameter | Type | Description |
|---|---|---|
expression * | string | JavaScript expression to evaluate, e.g. "location.href" or "document.querySelectorAll('button').length" |
udid * | string | Simulator / device UDID |
webviewId | string | Target WebView id. Omit to auto-select the first visible WebView. |
webview_network
Captures HTTP traffic made INSIDE a WebView (fetch + XMLHttpRequest) and exports it as JSON or a redacted HAR 1.2 log. This is the network-debugging path for WebView-based apps — RN shells that host their UI in a WKWebView, where the API calls run in the web layer so metro_network (CDP Network domain) captures nothing. It injects a fetch/XHR recorder into the page, captures for durationMs while you drive the app, then returns request/response metadata (url, method, status, headers, timing). Only requests made AFTER capture starts are recorded. format:'har' emits a valid HAR 1.2 log (HAR-lite…
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator / device UDID |
durationMs | integer | How long to capture (ms) while you drive the app (default 5000) |
format | string | Output format: 'json' (default, structured entries) or 'har' (HAR 1.2 log). |
includeResources | boolean | Also include the browser's retroactive Performance Resource Timing list — EVERY request the document made since navigation, including ones that fired before capture started (URL + timing + size, but… |
redact | boolean | Mask sensitive headers (authorization/cookie/…) and request bodies. Default true. |
saveTo | string | Optional file path to write the output (a .har file when format:'har'). |
webviewId | string | Target WebView id. Omit to auto-select the first visible WebView. |
assert_visible
Asserts an element/text is visible, via the oracle ladder (WebView-DOM > native a11y > Maestro). Passes only when a capable oracle confirms presence; if the surface is a WebView whose DOM can't be read (isInspectable=false), returns an 'unverifiable' error instead of a false pass. Provide text (any surface) or selector (WebView).
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator UDID |
bundleId | string | App bundle id for the Maestro fallback (native surface) |
contains | boolean | Substring match for text (default false = exact full-string on native a11y). WebView innerText is always substring. |
selector | string | CSS selector — WebView surfaces only |
text | string | Visible text to match (native a11y / WebView innerText) |
timeoutMs | integer | Poll budget (default 3000) |
assert_text
Asserts the given text is visible on screen (by-text shorthand for assert_visible). Same oracle ladder + unverifiable handling.
| Parameter | Type | Description |
|---|---|---|
text * | string | Visible text to assert |
udid * | string | Simulator UDID |
bundleId | string | App bundle id for the Maestro fallback (native surface) |
contains | boolean | Substring match for text (default false = exact full-string on native a11y). WebView innerText is always substring. |
timeoutMs | integer |
assert_not_visible
Asserts an element/text is ABSENT. FAILS CLOSED: if absence cannot be verified (e.g. a WebView whose DOM is unreadable — native a11y is blind to web content), returns an 'unverifiable' error rather than a false pass. Passes only when a capable oracle confirms absence.
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator UDID |
bundleId | string | App bundle id for the Maestro fallback (native surface) |
contains | boolean | Substring match for text (default false = exact full-string on native a11y). WebView innerText is always substring. |
selector | string | CSS selector — WebView surfaces only |
text | string | Visible text to match (native a11y / WebView innerText) |
timeoutMs | integer | Confirmation budget (default 1500) |
wait_for_element
Polls until an element/text is visible (via the oracle ladder), or fails on timeout. Use to act the instant the UI is ready instead of a blind sleep.
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator UDID |
bundleId | string | App bundle id for the Maestro fallback (native surface) |
contains | boolean | Substring match for text (default false = exact full-string on native a11y). WebView innerText is always substring. |
selector | string | CSS selector — WebView surfaces only |
text | string | Visible text to match (native a11y / WebView innerText) |
timeoutMs | integer | Wait budget (default 10000) |
validate_flow
Returns a trustworthy, evidenced verdict on whether a just-implemented flow works. Runs your visibility assertions through the oracle ladder (WebView-DOM > native a11y > Maestro; fail-closed on unverifiable) AND auto-checks app health: no recent crash, no error-level Metro logs, no failed (≥400) network requests. ok=true only when ALL assertions pass AND all applicable auto-checks are clean — never a bare 'looks ok'. State the expected outcome as assertions; this tool makes the AI's 'it works' auditable.
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator UDID |
assertions | array | Expected-outcome assertions (≥1 recommended) |
bundleId | string | App bundle id (Maestro fallback) |
checkCrashes | boolean | Auto-check recent crashes (default true) |
checkLogs | boolean | Auto-check error-level console logs (default true) |
checkNetwork | boolean | Auto-check failed network requests (default true) |
metroPort | integer | Metro port for log/network checks (default 8081) |
sinceSeconds | integer | Crash-recency window in seconds (default 120) |
engine_inspect
Lists game-engine (Unity/GL) objects matching a selector, each with absolute screen coordinates for tapping — DOM-like addressing with NO vision. Requires an AltTester-instrumented build (dev/staging) with the in-app server running — production App Store builds are not instrumented. Uses no screenshots/vision.
| Parameter | Type | Description |
|---|---|---|
udid * | string | Device UDID / Android serial |
value * | string | Selector value (object name, hierarchy path, component, or text) |
by | string | Selector kind (default: name) |
engine_tap
Taps a game-engine object resolved by selector (engine-reported screen coords, no vision). Requires an AltTester-instrumented build (dev/staging) with the in-app server running — production App Store builds are not instrumented. Uses no screenshots/vision.
| Parameter | Type | Description |
|---|---|---|
udid * | string | Device UDID / Android serial |
value * | string | Selector value identifying the object to tap |
by | string |
engine_swipe
Swipes between two screen coordinates inside a game-engine view. Requires an AltTester-instrumented build (dev/staging) with the in-app server running — production App Store builds are not instrumented. Uses no screenshots/vision.
| Parameter | Type | Description |
|---|---|---|
fromX * | number | |
fromY * | number | |
toX * | number | |
toY * | number | |
udid * | string | Device UDID / Android serial |
durationMs | integer | Swipe duration in ms (default 300) |
engine_call
Invokes a C# component method on a game-engine object by reflection — the engine analog of firing a DOM event handler. Requires an AltTester-instrumented build (dev/staging) with the in-app server running — production App Store builds are not instrumented. Uses no screenshots/vision.
| Parameter | Type | Description |
|---|---|---|
component * | string | Component (script) name, e.g. ScoreController |
method * | string | Method name to invoke |
udid * | string | Device UDID / Android serial |
value * | string | Selector value identifying the object |
by | string | |
parameters | array | Method parameters (default none) |
canvas_inspect
Lists canvas/WebGL objects (Pixi/Konva/Fabric/Phaser/Three/Babylon) as DOM-like elements with tap-ready coordinates — NO screenshot/vision. Optionally filter by selector (name/id/text/type/role). Requires an inspectable WKWebView (isInspectable=true; debug/staging) hosting a canvas/WebGL framework (Pixi/Konva/Fabric/Phaser/Three/Babylon) with its root reachable (commonly on window, or Pixi's __PIXI_APP__). NO screenshots/vision — fails closed otherwise.
| Parameter | Type | Description |
|---|---|---|
udid * | string | Simulator / device UDID (from device_list) |
by | string | Selector kind to filter by (omit to list all) |
value | string | Selector value (required when 'by' is given) |
webviewId | string | Target WebView id. Omit to auto-select the first visible one. |
canvas_resolve
Resolves a fuzzy intent (e.g. "close", "settings", "✕") to a ranked, EVIDENCED canvas target without tapping — the 'close brain'. Returns the best match, all candidates with reasons, and a fail-closed confidentEnough flag (false when two targets tie). NO vision. Requires an inspectable WKWebView (isInspectable=true; debug/staging) hosting a canvas/WebGL framework (Pixi/Konva/Fabric/Phaser/Three/Babylon) with its root reachable (commonly on window, or Pixi's __PIXI_APP__). NO screenshots/vision — fails closed otherwise.
| Parameter | Type | Description |
|---|---|---|
intent * | string | What you want to act on, e.g. "close", "play", "settings" |
udid * | string | Simulator / device UDID |
webviewId | string | Target WebView id. Omit to auto-select. |
canvas_tap
Resolves an intent to a single canvas target and TAPS it at absolute screen coordinates — the native-like 'close this' for canvas UIs. Fail-closed: if no confident, unambiguous match exists it does NOT tap and returns the candidates so you can disambiguate. NO vision. Requires an inspectable WKWebView (isInspectable=true; debug/staging) hosting a canvas/WebGL framework (Pixi/Konva/Fabric/Phaser/Three/Babylon) with its root reachable (commonly on window, or Pixi's __PIXI_APP__). NO screenshots/vision — fails closed otherwise.
| Parameter | Type | Description |
|---|---|---|
intent * | string | What to tap, e.g. "close", "play", or an exact object name |
udid * | string | Simulator / device UDID |
bundleId | string | App bundle id (only used for the Maestro tap fallback) |
webviewId | string | Target WebView id. Omit to auto-select. |
podium_token_report
Quantifies Podium's token savings: for an N-step flow, computes input tokens for Podium's no-vision structured flow vs a screenshot/vision loop, the savings ratio, and the fixed per-request tool-definition overhead. Heuristic estimates (~4 chars/token text, ~750 px/token image) — deterministic, no network.
| Parameter | Type | Description |
|---|---|---|
elementsPerStep | integer | Structured elements returned per step (default 20) |
screenshotHeight | integer | Vision-loop screenshot height px (default 2556) |
screenshotWidth | integer | Vision-loop screenshot width px (default 1179) |
steps | integer | Flow length (default 8) |
toolCount | integer | Registered tool count for the overhead estimate (default 51) |