podium-mcp

v0.4.0
io.github.hoainho/podium-mcp Checked 3 days ago Published 5 months ago

Mobile 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.

ParameterTypeDescription
udid *stringSimulator UDID (from device_list)

app_install

Installs an app on an iOS simulator. Accepts a path to a .app directory or a .zip archive.

ParameterTypeDescription
path *stringPath to the .app directory or .zip file to install
udid *stringSimulator UDID

app_launch

Launches an app on an iOS simulator by bundle ID.

ParameterTypeDescription
bundleId *stringApp bundle identifier (e.g. com.example.MyApp)
udid *stringSimulator UDID

app_terminate

Terminates a running app on an iOS simulator by bundle ID.

ParameterTypeDescription
bundleId *stringApp bundle identifier
udid *stringSimulator 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().

ParameterTypeDescription
udid *stringSimulator UDID
saveTostringDestination 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.).

ParameterTypeDescription
udid *stringSimulator UDID
url *stringURL 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.

ParameterTypeDescription
latitude *numberLatitude in decimal degrees
longitude *numberLongitude in decimal degrees
udid *stringSimulator UDID

app_list

Returns the list of installed apps on a booted iOS simulator. Includes bundle ID, display name, and application type (User/System).

ParameterTypeDescription
udid *stringSimulator UDID (from device_list)

app_uninstall

Uninstalls an app from an iOS simulator by bundle ID.

ParameterTypeDescription
bundleId *stringApp bundle identifier to uninstall (e.g. com.example.MyApp)
udid *stringSimulator 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.

ParameterTypeDescription
udid *stringSimulator 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.

ParameterTypeDescription
udid *stringSimulator 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.

ParameterTypeDescription
udid *stringSimulator UDID
saveTostringDestination 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.

ParameterTypeDescription
udid *stringSimulator 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…

ParameterTypeDescription
udid *stringSimulator / device UDID (from device_list)
compactbooleanReturn 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.

ParameterTypeDescription
bundleId *stringApp bundle identifier (e.g. com.example.MyApp). Required by Maestro.
udid *stringSimulator / device UDID
doublebooleanUse doubleTapOn instead of tapOn
idstringAccessibility ID of the element
indexintegerZero-based index when multiple elements match
longbooleanUse longPressOn instead of tapOn
longDurationMsintegerHold duration for long press in ms (max 10 000)
noLaunchbooleanSkip the implicit launchApp attach step (default false). Set true when an open modal or navigation state must not be disturbed.
textstringElement text or regex. Matches the FULL label/value case-insensitively (anchored ^…$); an invalid regex falls back to a substring match.
timeoutMsintegerFlow timeout in ms (default 30 000)
xnumberX coordinate in logical points (numeric only; percent strings are not supported)
ynumberY 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.

ParameterTypeDescription
bundleId *stringApp bundle identifier
text *stringText to type
udid *stringSimulator / device UDID
noLaunchbooleanSkip the implicit launchApp attach step (default false). Set true when an open modal or navigation state must not be disturbed.
submitbooleanPress Enter after typing (default false)
timeoutMsintegerFlow 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.

ParameterTypeDescription
bundleId *stringApp bundle identifier
direction *stringSwipe direction
udid *stringSimulator / device UDID
endXstringEnd X
endYstringEnd Y
noLaunchbooleanSkip the implicit launchApp attach step (default false). Set true when an open modal or navigation state must not be disturbed.
startXstringStart X (e.g. '10%' or '120')
startYstringStart Y
timeoutMsintegerFlow 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

ParameterTypeDescription
bundleId *stringApp bundle identifier
key *stringKey to press
udid *stringSimulator / device UDID
noLaunchbooleanSkip the implicit launchApp attach step (default false). Set true when an open modal or navigation state must not be disturbed.
timeoutMsintegerFlow 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

ParameterTypeDescription
bundleId *stringApp bundle identifier
udid *stringSimulator / device UDID
value *stringTarget orientation: PORTRAIT | LANDSCAPE_LEFT | LANDSCAPE_RIGHT | UPSIDE_DOWN
noLaunchbooleanSkip the implicit launchApp attach step (default false). Set true when an open modal or navigation state must not be disturbed.
timeoutMsintegerFlow 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…

ParameterTypeDescription
udid *stringSimulator / device UDID
x *numberX coordinate in logical points
y *numberY coordinate in logical points
bundleIdstringApp bundle id for the Maestro fallback (ignored when idb is present). Auto-detected if omitted.
maxRetriesintegerMaximum tap attempts (default 3)
offsetStepnumberOpt-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).

ParameterTypeDescription
udid *stringSimulator / device UDID
bundleIdstringApp 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…

ParameterTypeDescription
steps *arrayOrdered list of actions to perform.
udid *stringSimulator / device UDID (from device_list)
bundleIdstringApp bundle id for Maestro fallbacks (auto-detected from the foreground app if omitted).
stepDelayMsintegerOptional fixed delay inserted after every step (default 0).
stopOnErrorbooleanStop 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.

ParameterTypeDescription
udid *stringSimulator / device UDID (from device_list)
dirstringDirectory containing .yaml flow files
envobjectEnvironment variables passed to the flow
excludeTagsarrayExclude flows tagged with these tags (dir mode only)
filesarrayArray of .yaml flow file paths
includeTagsarrayOnly run flows tagged with these tags (dir mode only)
timeoutMsintegerFlow timeout in milliseconds (default 120 000)
yamlstringInline 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.

ParameterTypeDescription
bundleId *stringApp bundle id for the flow's appId header
steps *arrayThe 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.

ParameterTypeDescription
portintegerMetro 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).

ParameterTypeDescription
durationMsintegerHow long to collect logs in milliseconds (default 3000)
maxLogsintegerMaximum number of log entries to return (default 100, keeps most recent)
portintegerMetro port for auto-discovery (default 8081)
saveTostringOptional file path; writes the console timeline (one line per entry: [level ts] text) for evidence.
webSocketDebuggerUrlstringCDP 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…

ParameterTypeDescription
durationMsintegerHow long to capture network activity in milliseconds (default 3000)
formatstringOutput format: 'json' (default, structured entries) or 'har' (HAR 1.2 log).
maxEntriesintegerMaximum request entries to return (default 100, keeps most recent)
portintegerMetro port for auto-discovery (default 8081)
redactbooleanMask sensitive headers (authorization/cookie/set-cookie/…). Default true.
saveTostringOptional file path to write the output (a .har file when format:'har').
webSocketDebuggerUrlstringCDP 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.

ParameterTypeDescription
expressionstringJS expression to evaluate (default: a globally-exposed Redux store's getState()). e.g. "store.getState().user" or "globalThis.__APP_STATE__".
portintegerMetro port for auto-discovery (default 8081)
timeoutMsintegerEvaluation timeout in ms (default 5000)
webSocketDebuggerUrlstringCDP 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.

ParameterTypeDescription
processNamestringCase-insensitive substring to filter by process name
sinceHoursnumberOnly include crashes from the last N hours
udidstringSimulator 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.

ParameterTypeDescription
id *stringCrash report filename (id from crash_list)
udidstringSimulator 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).

ParameterTypeDescription
bundleId *stringApp bundle identifier (e.g. com.example.MyApp)
udid *stringSimulator 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.

ParameterTypeDescription
udid *stringSimulator / device UDID (from device_list)
maxintegerMaximum elements to return (default 100)
selectorstringCSS selector (default: 'button, a, input, textarea, [role=button]')
webviewIdstringTarget 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.

ParameterTypeDescription
expression *stringJavaScript expression to evaluate, e.g. "location.href" or "document.querySelectorAll('button').length"
udid *stringSimulator / device UDID
webviewIdstringTarget WebView id. Omit to auto-select the first visible WebView.

webview_navigate

Drives a WebView's navigation: goto a URL, or back / forward / reload. Requires the app's WKWebView to be inspectable (isInspectable=true) — on by default in debug/staging builds, frequently disabled in production App Store builds.

ParameterTypeDescription
action *stringNavigation action. 'goto' requires url.
udid *stringSimulator / device UDID
urlstringDestination URL (required when action is 'goto')
webviewIdstringTarget 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…

ParameterTypeDescription
udid *stringSimulator / device UDID
durationMsintegerHow long to capture (ms) while you drive the app (default 5000)
formatstringOutput format: 'json' (default, structured entries) or 'har' (HAR 1.2 log).
includeResourcesbooleanAlso 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…
redactbooleanMask sensitive headers (authorization/cookie/…) and request bodies. Default true.
saveTostringOptional file path to write the output (a .har file when format:'har').
webviewIdstringTarget 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).

ParameterTypeDescription
udid *stringSimulator UDID
bundleIdstringApp bundle id for the Maestro fallback (native surface)
containsbooleanSubstring match for text (default false = exact full-string on native a11y). WebView innerText is always substring.
selectorstringCSS selector — WebView surfaces only
textstringVisible text to match (native a11y / WebView innerText)
timeoutMsintegerPoll budget (default 3000)

assert_text

Asserts the given text is visible on screen (by-text shorthand for assert_visible). Same oracle ladder + unverifiable handling.

ParameterTypeDescription
text *stringVisible text to assert
udid *stringSimulator UDID
bundleIdstringApp bundle id for the Maestro fallback (native surface)
containsbooleanSubstring match for text (default false = exact full-string on native a11y). WebView innerText is always substring.
timeoutMsinteger

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.

ParameterTypeDescription
udid *stringSimulator UDID
bundleIdstringApp bundle id for the Maestro fallback (native surface)
containsbooleanSubstring match for text (default false = exact full-string on native a11y). WebView innerText is always substring.
selectorstringCSS selector — WebView surfaces only
textstringVisible text to match (native a11y / WebView innerText)
timeoutMsintegerConfirmation 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.

ParameterTypeDescription
udid *stringSimulator UDID
bundleIdstringApp bundle id for the Maestro fallback (native surface)
containsbooleanSubstring match for text (default false = exact full-string on native a11y). WebView innerText is always substring.
selectorstringCSS selector — WebView surfaces only
textstringVisible text to match (native a11y / WebView innerText)
timeoutMsintegerWait 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.

ParameterTypeDescription
udid *stringSimulator UDID
assertionsarrayExpected-outcome assertions (≥1 recommended)
bundleIdstringApp bundle id (Maestro fallback)
checkCrashesbooleanAuto-check recent crashes (default true)
checkLogsbooleanAuto-check error-level console logs (default true)
checkNetworkbooleanAuto-check failed network requests (default true)
metroPortintegerMetro port for log/network checks (default 8081)
sinceSecondsintegerCrash-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.

ParameterTypeDescription
udid *stringDevice UDID / Android serial
value *stringSelector value (object name, hierarchy path, component, or text)
bystringSelector 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.

ParameterTypeDescription
udid *stringDevice UDID / Android serial
value *stringSelector value identifying the object to tap
bystring

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.

ParameterTypeDescription
fromX *number
fromY *number
toX *number
toY *number
udid *stringDevice UDID / Android serial
durationMsintegerSwipe 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.

ParameterTypeDescription
component *stringComponent (script) name, e.g. ScoreController
method *stringMethod name to invoke
udid *stringDevice UDID / Android serial
value *stringSelector value identifying the object
bystring
parametersarrayMethod 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.

ParameterTypeDescription
udid *stringSimulator / device UDID (from device_list)
bystringSelector kind to filter by (omit to list all)
valuestringSelector value (required when 'by' is given)
webviewIdstringTarget 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.

ParameterTypeDescription
intent *stringWhat you want to act on, e.g. "close", "play", "settings"
udid *stringSimulator / device UDID
webviewIdstringTarget 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.

ParameterTypeDescription
intent *stringWhat to tap, e.g. "close", "play", or an exact object name
udid *stringSimulator / device UDID
bundleIdstringApp bundle id (only used for the Maestro tap fallback)
webviewIdstringTarget 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.

ParameterTypeDescription
elementsPerStepintegerStructured elements returned per step (default 20)
screenshotHeightintegerVision-loop screenshot height px (default 2556)
screenshotWidthintegerVision-loop screenshot width px (default 1179)
stepsintegerFlow length (default 8)
toolCountintegerRegistered tool count for the overhead estimate (default 51)