activitystring
Android activity name.
androidDeviceAllowliststring
Android serial allowlist used for device resolution.
appstring
App name, bundle id, package, or URL.
bundleUrlstring
Session-scoped bundle URL hint applied to the opened app.
debugboolean
Enable debug diagnostics.
devicestring
Device name selector (a UDID belongs in udid, a serial in serial).
deviceHubboolean
Use Xcode Device Hub when surfacing Apple simulators.
deviceTargetenum
Device target form. Maps to the CLI --target flag.
forceboolean
Overwrite an existing --save-script target instead of refusing (alias: --overwrite).
foregroundboolean
Include an initial interactive snapshot in a fresh open response. With no app argument, discover the sole running app on the sole booted iOS simulator; ambiguous environments fail closed.
includeCostboolean
Include per-command agent-cost (cost.wallClockMs, …) in structuredContent. Defaults to off; the default response shape is unchanged.
launchArgsstring[]
Launch arguments forwarded verbatim to the platform launch command.
launchConsolestring
Launch console mode.
launchUrlstring
Session-scoped launch URL hint applied to the opened app.
leaseIdstring
Existing lease identifier.
mcpOutputFormatenum
MCP text content format. Defaults to optimized agent-friendly text; use json for JSON text. Structured content is always returned separately.
metroHoststring
Session-scoped Metro/debug host hint applied to the opened app.
metroPortinteger
Session-scoped Metro/debug port hint applied to the opened app. On an emulator/simulator the host defaults to the loopback alias (Android 10.0.2.2, iOS 127.0.0.1) when --metro-host is omitted; physical devices still require an explicit --metro-host.
noRecordboolean
Do not record this action.
platformenum
Platform selector used to resolve a device.
relaunchboolean
Force relaunch.
responseLevelenum
Response verbosity: token-cheap digest / default (today) / full. Defaults to default; the default response shape is unchanged.
runIdstring
Lease run identifier.
saveScriptboolean | string
serialstring
Android, HarmonyOS, or Vega VVD serial selector.
sessionstring
Agent-device session name.
surfaceenum
macOS presentation surface to open: the app itself, the frontmost app, the desktop, or the menu bar.
targetenum
Alias for deviceTarget on commands without a UI target field. Interaction commands reserve target for the UI element.
tenantstring
Remote tenant identifier.
testImeboolean
Activate the headless Android test IME for deterministic Unicode text entry (default on for emulators; opt-in on real devices).
timeoutMsinteger
Startup budget in milliseconds. Bounds the Simulator boot wait, so a never-booted Simulator can finish its first-boot migration; omit for the default startup behavior.
udidstring
Apple device or simulator UDID; the selector that pins one device when several share a name.
urlstring
Optional URL passed with an app shell.