# Setup devicemobilerun setup# Run a commandmobilerun run "Open Spotify and play my Discover Weekly"
Mobilerun creates config.yaml automatically in ~/.config/droidrun on Linux, ~/Library/Application Support/droidrun on macOS, or %LOCALAPPDATA%\droidrun\droidrun on Windows. Set MOBILERUN_CONFIG or pass --config to use another file.
# Simple commandmobilerun run "Open Settings"# Multi-step taskmobilerun run "Send WhatsApp to John: I'll be late"# Specific devicemobilerun run "Check battery" --device emulator-5554
# Google Geminiexport GOOGLE_API_KEY=your-keymobilerun run "Archive old emails" \ --provider GoogleGenAI \ --model gemini-3.8-flash# OpenAIexport OPENAI_API_KEY=your-keymobilerun run "Create shopping list" \ --provider OpenAI \ --model gpt-6-astra# xAI Grokexport XAI_API_KEY=your-keymobilerun run "Open Settings" \ --provider XAI \ --model grok-4.6# Anthropic Claudeexport ANTHROPIC_API_KEY=your-keymobilerun run "Reply to latest email" \ --provider Anthropic \ --model claude-sonnet-5# Local Ollama (free)mobilerun run "Turn on dark mode" \ --provider Ollama \ --model llama3.3:70b \ --base_url http://localhost:11434# Remote Ollama with a Bearer tokenexport OLLAMA_API_KEY=your-tokenmobilerun run "Turn on dark mode" \ --provider Ollama \ --model llama3.3:70b \ --base_url https://your-ollama-host
# Use screenshots without an accessibility treemobilerun run "Check Wi-Fi" --vision-only# Use a compatible visual-remote servermobilerun run "Check Wi-Fi" \ --vision-only \ --control-backend visual-remote \ --device http://localhost:8090
Visual Remote controls the device from screenshots and coordinate-based actions. Some Visual Remote servers may not support opening apps.
# Complex task with planningmobilerun run "Organize inbox by sender" \ --reasoning \ --vision \ --steps 30# Debug failing commandmobilerun run "Book Uber to airport" \ --debug \ --save-trajectory action# Wireless executionmobilerun run "Clear cache" \ --device 192.168.1.100:5555 \ --tcp# Custom configmobilerun run "Enable 2FA" \ --config /path/to/config.yaml
The wizard supports API-key and OAuth sign-in. MiniMax uses separate global and Mainland China endpoints, and ZAI also offers Coding API authentication.
Run the wizard to choose a provider, sign-in method, and model.
# Interactive setupmobilerun configure# Skip the wizard questions (OAuth still requires approval if you are not signed in)mobilerun configure \ --provider openai \ --auth-mode oauth \ --model gpt-6-astra
Flag
Description
Default
--provider
gemini, openai, anthropic, xai, ollama, openai_like, minimax, or zai
If you skip the model question, the wizard saves these defaults:
Provider
API key default
OAuth default
OpenAI
gpt-6-astra
gpt-6-astra
Gemini
gemini-3.8-flash
gemini-3.8-flash-tiered
Anthropic
claude-sonnet-5
claude-sonnet-5
gpt-6-astra uses low reasoning effort unless you set a reasoning value in your configuration or per call. Older models such as gpt-5.5, gemini-3.7-flash, and claude-sonnet-4-6 remain selectable.
Some retired models no longer accept requests and are removed from the wizard: gemini-3.5-flash-low, gemini-3.5-flash-extra-low, and gemini-3-flash-agent for Gemini OAuth, plus gpt-5.4 and gpt-5.4-mini for OpenAI OAuth. If your saved configuration selects a retired Gemini OAuth model, Mobilerun rejects the run with a reconfiguration error. Run mobilerun configure gemini and pick a current model.
To force manual login instead of the local browser callback server, set MOBILERUN_OAUTH_MANUAL=true before running the OpenAI, Anthropic, or Gemini commands. See Manual OAuth login.
mobilerun devices and Cloud direct actions use MOBILERUN_CLOUD_API_KEY when it is set. Otherwise, they use the credential saved by mobilerun login. mobilerun whoami and mobilerun logout operate on the saved login. These commands do not use MOBILERUN_API_KEY.
Install the Portal APK on an Android device. Without a version flag, Mobilerun selects the Portal release compatible with the installed Mobilerun version.
# Auto-detect devicemobilerun setup# Specific devicemobilerun setup --device emulator-5554# Custom APKmobilerun setup --path /path/to/portal.apk# Newest available Portal releasemobilerun setup --latest# Pin a releasemobilerun setup --portal-version 0.7.1
Flag
Description
Default
--device, -d
Android serial or IP
Auto-detect
--path
Install an APK from a local path
Compatible download
--portal-version, -pv
Download a specific Portal version
Compatible version
--latest
Download the latest Portal instead of the compatible version
false
--debug
Enable verbose setup logging
false
What it does:
Downloads the compatible Portal APK
Installs it and grants the Android permissions allowed during installation
Attempts to enable the accessibility service
Opens settings if manual enable needed
To use Android through ADB without Portal, set device.portal_mode: disabled.
# Take a screenshotmobilerun device screenshot# Print the UI accessibility treemobilerun device ui# Tap at coordinatesmobilerun device tap 500 500# Swipe from point to pointmobilerun device swipe 100 500 100 200 --duration 0.5# Long press at coordinatesmobilerun device long-press 500 500# Type text into focused fieldmobilerun device type "Hello world" --clear# Press a system button (back, home, enter)mobilerun device press back# List installed appsmobilerun device apps --system# Launch an app by package namemobilerun device start com.example.app
All direct-action subcommands accept these common flags:
Flag
Description
Default
--device, -d
Local device serial/IP or Cloud device UUID
From config / auto-detect
--config, -c
Explicit Framework config file
MOBILERUN_CONFIG, then platform config
--tcp / --no-tcp
Override local Android TCP communication
From config
--ios
Target a local iOS device
false
--cloud
Target a Mobilerun Cloud device
false
--device-id
Cloud device id; -d also accepts it
None
--base-url
Cloud API base URL
https://api.mobilerun.ai/v1
Action-specific options are swipe --duration <seconds> (default 1.0), type --clear, and apps --system / --no-system.mobilerun device long-press is not available for local iOS devices.
Pass a Cloud device UUID with --cloud --device-id. When a Cloud credential is available, you can also pass the UUID with -d.
# Use --cloud explicitlymobilerun device screenshot \ --cloud \ --device-id 7f1c1d2e-4b8a-4a3a-9a4d-1234567890ab# Use an available Cloud credentialmobilerun device tap 500 500 \ -d 7f1c1d2e-4b8a-4a3a-9a4d-1234567890ab
# Record at action level (most detailed)mobilerun run "Create alarm for 7am" --save-trajectory action# Record at step levelmobilerun run "Export contacts" --save-trajectory step
# Check ADBadb devices# If unauthorized: Accept prompt on device# If not listed: Try different USB port/cable# Restart ADBadb kill-server && adb start-server
For first-time setup, use mobilerun configure to interactively choose your provider and credentials. Environment variables below are useful for overrides and CI/CD.
Variable
Description
Default
GOOGLE_API_KEY
Google Gemini API key
None
OPENAI_API_KEY
OpenAI API key
None
XAI_API_KEY
xAI API key for Grok
None
ANTHROPIC_API_KEY
Anthropic API key
None
DEEPSEEK_API_KEY
DeepSeek API key
None
OPENROUTER_API_KEY
OpenRouter API key
None
MINIMAX_API_KEY
MiniMax API key
None
ZAI_API_KEY
ZAI API key
None
MOBILERUN_CLOUD_API_KEY
Cloud key for devices --cloud and cloud direct actions
None
MOBILERUN_AUTH_URL
Auth server used by mobilerun login
https://cloud.mobilerun.ai/api/auth
MOBILERUN_CONFIG
Override the Framework config path
Unset (platform config is used)
MOBILERUN_DEVICE_TOKEN
Bearer token for an authenticated mobilerun-ios --local server
None
Cloud device commands use MOBILERUN_CLOUD_API_KEY, not MOBILERUN_API_KEY.
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Mobilerun","colors":{"primary":"#4566D9","light":"#73A0FF","dark":"#4566D9"},"logo":{"light":"https://mintcdn.com/mobilerun/dj4o2PD1fQzmydpp/logo/dark.svg?fit=max\u0026auto=format\u0026n=dj4o2PD1fQzmydpp\u0026q=85\u0026s=94794bb3cda4a2b043ae10ae8c62de4d","dark":"https://mintcdn.com/mobilerun/dj4o2PD1fQzmydpp/logo/light.svg?fit=max\u0026auto=format\u0026n=dj4o2PD1fQzmydpp\u0026q=85\u0026s=48f04fef89a01ee7524aba18bc42e98c","href":"https://mobilerun.ai"},"favicon":{"light":"https://mintcdn.com/mobilerun/3WD57gGwKcqvkcxT/favicon.png?fit=max\u0026auto=format\u0026n=3WD57gGwKcqvkcxT\u0026q=85\u0026s=18b3ce5f77441e67930307555c63dce1","dark":"https://mintcdn.com/mobilerun/3WD57gGwKcqvkcxT/favicon-dark.png?fit=max\u0026auto=format\u0026n=3WD57gGwKcqvkcxT\u0026q=85\u0026s=5de0002e3ece75d65013ce83fb6d0c67"},"background":{"color":{"light":"#FBFAF7","dark":"#0F0D0B"}},"navbar":{"primary":{"type":"button","label":"Get Started","href":"https://cloud.mobilerun.ai"}},"footer":{"socials":{"github":"https://github.com/droidrun/droidrun","x":"https://x.com/droid_run","discord":"https://discord.gg/droidrun","website":"https://mobilerun.ai"}},"fonts":{"family":"Geist"},"icons":{"library":"lucide"},"integrations":{"posthog":{"apiKey":"phc_3BmiVdnS2Wvlm007eHGZLBPwRFCVVWzIZXbB0u3ZH1d","apiHost":"https://pineapple.droidrun.ai"}},"errors":{"404":{"redirect":false}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mobilerun","hasAudioNarration":false,"actualSubdomain":"mobilerun","customDomains":["docs.mobilerun.ai"],"gitSource":{"type":"github","owner":"droidrun","repo":"mobilerun-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af6f9501cd2a2e6df8cfec8","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"Cloud","count":295},{"language":"default","tag":"API Reference","count":238},{"language":"default","tag":"Phones","count":92},{"language":"default","tag":"Documentation","count":48},{"language":"default","tag":"Workflows","count":43},{"language":"default","tag":"Mobilerun Agents","count":28},{"language":"default","tag":"Framework","count":24},{"language":"default","tag":"Guides","count":24},{"language":"default","tag":"Proxy","count":24},{"language":"default","tag":"Integrations","count":23}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":":root{--brand-background: #FBFAF7;--brand-foreground: #272320;--brand-card: #FFFDFA;--brand-popover: #FFFDFA;--brand-card-foreground: #272320;--brand-primary-foreground: #F7F8FC;--brand-secondary: #F3F0EA;--brand-secondary-foreground: #272320;--brand-muted: #F3F0EA;--brand-muted-foreground: #76706C;--brand-accent: #E0EBFF;--brand-accent-foreground: #273C81;--brand-destructive: #C74C41;--brand-destructive-foreground: #FDFCF9;--brand-border: #E6E4E0;--brand-input: #F5F3EF;--brand-sidebar: #F7F5F1;--brand-sidebar-foreground: #312D2A;--brand-sidebar-border: #E6E4E0;--brand-chart-1: #4566D9;--brand-chart-2: #00A0C5;--brand-chart-3: #9878E5;--brand-chart-4: #CD9130;--brand-chart-5: #009A7B}html.dark{--brand-background: #0F0D0B;--brand-foreground: #E6E4E1;--brand-card: #161311;--brand-popover: #1A1816;--brand-card-foreground: #E6E4E1;--brand-primary-foreground: #0E111B;--brand-secondary: #1D1A18;--brand-secondary-foreground: #E6E4E1;--brand-muted: #1A1816;--brand-muted-foreground: #9C9793;--brand-accent: #1C2746;--brand-accent-foreground: #BAD0FF;--brand-destructive: #C5372F;--brand-destructive-foreground: #F0EEEB;--brand-border: #24211F;--brand-input: #1F1C1A;--brand-sidebar: #14110F;--brand-sidebar-foreground: #D9D7D4;--brand-sidebar-border: #24211F;--brand-chart-1: #73A0FF;--brand-chart-2: #1EBDE3;--brand-chart-3: #AC8FF8;--brand-chart-4: #E4AC59;--brand-chart-5: #30B69A}#content-area{max-width:none!important}@media (min-width: 1280px){#content-area,.mdx-content,.docs-content,.prose{max-width:900px!important}}@media (min-width: 1536px){#content-area,.mdx-content,.docs-content,.prose{max-width:1000px!important}}@media (min-width: 1920px){#content-area,.mdx-content,.docs-content,.prose{max-width:1200px!important}}@media (min-width: 2560px){#content-area,.mdx-content,.docs-content,.prose{max-width:1600px!important}}@media (min-width: 1280px){main{max-width:none!important}.container{max-width:1400px!important}}@media (min-width: 1920px){.container{max-width:1600px!important}}@media (min-width: 2560px){.container{max-width:1800px!important}}a[href=\"https://mobilerun.ai\"]{height:auto!important;max-height:none!important}img[src*=\"/logo/light.svg\"],img[src*=\"/logo/dark.svg\"]{height:2rem!important;max-height:none!important;width:auto!important}html[data-current-path^=\"/framework\"]{--primary: 217 119 87;--primary-light: 232 153 120;--primary-dark: 181 90 62}html[data-current-path^=\"/framework\"] a[href=\"https://mobilerun.ai\"] img[src*=\"/logo/light.svg\"]{content:url(\"/framework/logo/light.svg\")}html[data-current-path^=\"/framework\"] a[href=\"https://mobilerun.ai\"] img[src*=\"/logo/dark.svg\"]{content:url(\"/framework/logo/dark.svg\")}html[data-current-path^=\"/framework\"] a[href=\"https://mobilerun.ai\"] img[src*=\"/logo/light.svg\"],html[data-current-path^=\"/framework\"] a[href=\"https://mobilerun.ai\"] img[src*=\"/logo/dark.svg\"]{height:1.7rem!important;transform:translate(2px, 2px)}html[data-current-path^=\"/framework\"] a[href=\"https://mobilerun.ai\"]{display:inline-flex!important;align-items:center!important}img[src$=\"/logo/assistant-light.svg\"]{width:24px!important;height:24px!important;max-width:none;flex-shrink:0}.dark img[src$=\"/logo/assistant-light.svg\"]{content:url(\"/logo/assistant-dark.svg\")}"}],"page":{"pagePath":"framework/guides/cli","slug":"/framework/guides/cli","pageMetadata":{"title":"CLI Usage","description":"Command-line interface for controlling devices with natural language","href":"/framework/guides/cli"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Command-line interface for controlling devices with natural language\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,CodeGroup,Heading,Note,Tab,Table,Tabs,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`The Mobilerun CLI lets you control Android and iOS devices using natural language commands powered by LLM agents.`}),`\n`,_jsx(Heading,{level:`3`,id:`quick-start`,children:`Quick Start`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Setup device`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Run a command`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Open Spotify and play my Discover Weekly\"`})]}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Mobilerun creates `,_jsx(_components.code,{children:`config.yaml`}),` automatically in `,_jsx(_components.code,{children:`~/.config/droidrun`}),` on Linux, `,_jsx(_components.code,{children:`~/Library/Application Support/droidrun`}),` on macOS, or `,_jsx(_components.code,{children:`%LOCALAPPDATA%\\\\droidrun\\\\droidrun`}),` on Windows. Set `,_jsx(_components.code,{children:`MOBILERUN_CONFIG`}),` or pass `,_jsx(_components.code,{children:`--config`}),` to use another file.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`commands`,children:`Commands`}),`\n`,_jsxs(_components.p,{children:[`Run `,_jsx(_components.code,{children:`mobilerun --version`}),` to print the installed package version.`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`run`,id:`run`,\"data-child-tab-ids\":`[\"basic\",\"llm-providers\",\"screenshot-only\",\"advanced\"]`,\"data-child-heading-ids\":`[\"usage\",\"flags\",\"examples\",\"provider-options\"]`,children:[_jsx(_components.p,{children:`Execute natural language commands on your device.`}),_jsx(Heading,{level:`3`,id:`usage`,children:`Usage`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\u003ccommand>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [OPTIONS]`})]}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`flags`,children:`Flags`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--config`}),`, `,_jsx(_components.code,{children:`-c`})]}),_jsx(_components.td,{children:`Explicit config file`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`MOBILERUN_CONFIG`}),`, then the platform config`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--device`}),`, `,_jsx(_components.code,{children:`-d`})]}),_jsx(_components.td,{children:`Device serial/IP, iOS local-server URL, or visual-remote URL`}),_jsx(_components.td,{children:`From config / auto-detect`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--device-id`})}),_jsx(_components.td,{children:`Device to use when a server provides more than one`}),_jsxs(_components.td,{children:[`From config (`,_jsx(_components.code,{children:`auto`}),` initially)`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--agent`}),`, `,_jsx(_components.code,{children:`-a`})]}),_jsx(_components.td,{children:`Android external agent name`}),_jsxs(_components.td,{children:[`From config (`,_jsx(_components.code,{children:`mobilerun`}),` initially)`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--provider`}),`, `,_jsx(_components.code,{children:`-p`})]}),_jsx(_components.td,{children:`LLM provider override`}),_jsx(_components.td,{children:`From config`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--model`}),`, `,_jsx(_components.code,{children:`-m`})]}),_jsx(_components.td,{children:`LLM model override`}),_jsx(_components.td,{children:`From config`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--temperature`})}),_jsx(_components.td,{children:`LLM temperature override`}),_jsx(_components.td,{children:`From the selected profile`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--steps`})}),_jsx(_components.td,{children:`Maximum execution steps`}),_jsxs(_components.td,{children:[`From config (`,_jsx(_components.code,{children:`15`}),` initially)`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--base_url`}),`, `,_jsx(_components.code,{children:`-u`})]}),_jsx(_components.td,{children:`Base URL for providers such as Ollama or OpenRouter`}),_jsx(_components.td,{children:`Provider profile`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--api_base`})}),_jsx(_components.td,{children:`API base for OpenAI-compatible providers`}),_jsx(_components.td,{children:`Provider profile`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--vision`}),` / `,_jsx(_components.code,{children:`--no-vision`})]}),_jsx(_components.td,{children:`Enable or disable screenshots for all agents`}),_jsx(_components.td,{children:`From config`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--vision-only`}),` / `,_jsx(_components.code,{children:`--no-vision-only`})]}),_jsx(_components.td,{children:`Use screenshots without an accessibility tree`}),_jsx(_components.td,{children:`From config`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--reasoning`}),` / `,_jsx(_components.code,{children:`--no-reasoning`})]}),_jsx(_components.td,{children:`Enable or disable Manager-Executor planning`}),_jsx(_components.td,{children:`From config`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--stream`}),` / `,_jsx(_components.code,{children:`--no-stream`})]}),_jsx(_components.td,{children:`Stream LLM responses`}),_jsx(_components.td,{children:`From config`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--tracing`}),` / `,_jsx(_components.code,{children:`--no-tracing`})]}),_jsx(_components.td,{children:`Enable or disable the configured tracing provider (Phoenix by default)`}),_jsx(_components.td,{children:`From config`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--debug`}),` / `,_jsx(_components.code,{children:`--no-debug`})]}),_jsx(_components.td,{children:`Enable verbose logging`}),_jsx(_components.td,{children:`From config`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--tcp`}),` / `,_jsx(_components.code,{children:`--no-tcp`})]}),_jsx(_components.td,{children:`Override Android TCP communication`}),_jsx(_components.td,{children:`From config`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--control-backend visual-remote`})}),_jsx(_components.td,{children:`Connect to a Visual Remote server`}),_jsx(_components.td,{children:`From config`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--save-trajectory`})}),_jsxs(_components.td,{children:[`Save execution at `,_jsx(_components.code,{children:`none`}),`, `,_jsx(_components.code,{children:`step`}),`, or `,_jsx(_components.code,{children:`action`}),` level`]}),_jsxs(_components.td,{children:[`From config (`,_jsx(_components.code,{children:`none`}),` initially)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--ios`})}),_jsx(_components.td,{children:`Use an iOS device`}),_jsxs(_components.td,{children:[`From config (`,_jsx(_components.code,{children:`android`}),` initially)`]})]})]})]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`Pass `,_jsx(_components.code,{children:`--provider`}),` and `,_jsx(_components.code,{children:`--model`}),` together. Supplying only one causes the run to fail before the agent starts.`]})}),_jsx(Heading,{level:`3`,id:`examples`,children:`Examples`}),_jsxs(Tabs,{children:[_jsx(Tab,{title:`Basic`,id:`basic`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Simple command`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Open Settings\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Multi-step task`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Send WhatsApp to John: I'll be late\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Specific device`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Check battery\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` emulator-5554`})]}),`\n`]})})})}),_jsx(Tab,{title:`LLM Providers`,id:`llm-providers`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`36`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`36`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Google Gemini`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` GOOGLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`your-key`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Archive old emails\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GoogleGenAI`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --model`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gemini-3.8-flash`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# OpenAI`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` OPENAI_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`your-key`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Create shopping list\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` OpenAI`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --model`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gpt-6-astra`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# xAI Grok`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` XAI_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`your-key`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Open Settings\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` XAI`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --model`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` grok-4.6`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Anthropic Claude`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ANTHROPIC_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`your-key`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Reply to latest email\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Anthropic`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --model`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` claude-sonnet-5`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Local Ollama (free)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Turn on dark mode\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Ollama`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --model`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` llama3.3:70b`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --base_url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:11434`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Remote Ollama with a Bearer token`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` OLLAMA_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`your-token`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Turn on dark mode\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Ollama`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --model`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` llama3.3:70b`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --base_url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://your-ollama-host`})]}),`\n`]})})})}),_jsxs(Tab,{title:`Screenshot Only`,id:`screenshot-only`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Use screenshots without an accessibility tree`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Check Wi-Fi\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --vision-only`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Use a compatible visual-remote server`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Check Wi-Fi\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --vision-only`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --control-backend`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` visual-remote`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:8090`})]}),`\n`]})})}),_jsx(_components.p,{children:`Visual Remote controls the device from screenshots and coordinate-based actions. Some Visual Remote servers may not support opening apps.`})]}),_jsx(Tab,{title:`Advanced`,id:`advanced`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Complex task with planning`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Organize inbox by sender\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --reasoning`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --vision`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --steps`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 30`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Debug failing command`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Book Uber to airport\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --debug`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --save-trajectory`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` action`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Wireless execution`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Clear cache\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 192.168.1.100:5555`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tcp`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Custom config`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Enable 2FA\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --config`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /path/to/config.yaml`})]}),`\n`]})})})})]}),_jsx(Heading,{level:`3`,id:`provider-options`,children:`Provider Options`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Provider`}),_jsx(_components.th,{children:`Install`}),_jsx(_components.th,{children:`Environment Variable`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`GoogleGenAI`}),_jsx(_components.td,{children:`Included by default`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`GOOGLE_API_KEY`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`OpenAI`}),_jsx(_components.td,{children:`Included by default`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`OPENAI_API_KEY`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`XAI`}),_jsx(_components.td,{children:`Included by default`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`XAI_API_KEY`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`OpenAILike`}),_jsx(_components.td,{children:`Included by default`}),_jsx(_components.td,{children:`Varies by provider`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`OpenRouter`}),_jsx(_components.td,{children:`Included by default`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`OPENROUTER_API_KEY`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Ollama`}),_jsx(_components.td,{children:`Included by default`}),_jsx(_components.td,{children:`None (local)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Anthropic`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`uv pip install 'mobilerun[anthropic]'`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ANTHROPIC_API_KEY`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`DeepSeek`}),_jsx(_components.td,{children:`Included by default`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`DEEPSEEK_API_KEY`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`MiniMax`}),_jsx(_components.td,{children:`Included by default`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`MINIMAX_API_KEY`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`ZAI`}),_jsx(_components.td,{children:`Included by default`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ZAI_API_KEY`})})]})]})]}),_jsx(_components.p,{children:`The wizard supports API-key and OAuth sign-in. MiniMax uses separate global and Mainland China endpoints, and ZAI also offers Coding API authentication.`})]}),_jsxs(Tab,{title:`Configure`,id:`configure`,\"data-child-heading-ids\":`[\"mobilerun-configure\",\"default-models\",\"provider-oauth-login-commands\",\"mobilerun-configure-openai\",\"mobilerun-configure-anthropic\",\"mobilerun-configure-gemini\",\"mobilerun-configure-xai\"]`,children:[_jsx(Heading,{level:`3`,id:`mobilerun-configure`,children:_jsx(_components.code,{children:`mobilerun configure`})}),_jsx(_components.p,{children:`Run the wizard to choose a provider, sign-in method, and model.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Interactive setup`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` configure`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Skip the wizard questions (OAuth still requires approval if you are not signed in)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` configure`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` openai`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --auth-mode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` oauth`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --model`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gpt-6-astra`})]}),`\n`]})})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--provider`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`gemini`}),`, `,_jsx(_components.code,{children:`openai`}),`, `,_jsx(_components.code,{children:`anthropic`}),`, `,_jsx(_components.code,{children:`xai`}),`, `,_jsx(_components.code,{children:`ollama`}),`, `,_jsx(_components.code,{children:`openai_like`}),`, `,_jsx(_components.code,{children:`minimax`}),`, or `,_jsx(_components.code,{children:`zai`})]}),_jsx(_components.td,{children:`Prompted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--auth-mode`})}),_jsx(_components.td,{children:`How to sign in to the provider`}),_jsx(_components.td,{children:`Prompted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--model`})}),_jsx(_components.td,{children:`Model to save in every built-in agent profile`}),_jsx(_components.td,{children:`Prompted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--api-key`})}),_jsx(_components.td,{children:`API key for an API-key provider`}),_jsx(_components.td,{children:`Existing saved key or prompt`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--base-url`})}),_jsx(_components.td,{children:`Compatible-provider base URL`}),_jsx(_components.td,{children:`Provider default or prompt`})]})]})]}),_jsx(Heading,{level:`3`,id:`default-models`,children:`Default models`}),_jsx(_components.p,{children:`If you skip the model question, the wizard saves these defaults:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Provider`}),_jsx(_components.th,{children:`API key default`}),_jsx(_components.th,{children:`OAuth default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`OpenAI`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`gpt-6-astra`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`gpt-6-astra`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Gemini`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`gemini-3.8-flash`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`gemini-3.8-flash-tiered`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Anthropic`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`claude-sonnet-5`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`claude-sonnet-5`})})]})]})]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`gpt-6-astra`}),` uses `,_jsx(_components.code,{children:`low`}),` reasoning effort unless you set a reasoning value in your configuration or per call. Older models such as `,_jsx(_components.code,{children:`gpt-5.5`}),`, `,_jsx(_components.code,{children:`gemini-3.7-flash`}),`, and `,_jsx(_components.code,{children:`claude-sonnet-4-6`}),` remain selectable.`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Some retired models no longer accept requests and are removed from the wizard: `,_jsx(_components.code,{children:`gemini-3.5-flash-low`}),`, `,_jsx(_components.code,{children:`gemini-3.5-flash-extra-low`}),`, and `,_jsx(_components.code,{children:`gemini-3-flash-agent`}),` for Gemini OAuth, plus `,_jsx(_components.code,{children:`gpt-5.4`}),` and `,_jsx(_components.code,{children:`gpt-5.4-mini`}),` for OpenAI OAuth. If your saved configuration selects a retired Gemini OAuth model, Mobilerun rejects the run with a reconfiguration error. Run `,_jsx(_components.code,{children:`mobilerun configure gemini`}),` and pick a current model.`]})}),_jsx(Heading,{level:`3`,id:`provider-oauth-login-commands`,children:`Provider OAuth login commands`}),_jsxs(_components.p,{children:[`Use these commands to sign in with OAuth. Run `,_jsx(_components.code,{children:`mobilerun configure`}),` to change the saved provider or model.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` configure`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` openai`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` configure`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` anthropic`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` configure`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gemini`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` configure`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` xai`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`To force manual login instead of the local browser callback server, set `,_jsx(_components.code,{children:`MOBILERUN_OAUTH_MANUAL=true`}),` before running the OpenAI, Anthropic, or Gemini commands. See `,_jsx(_components.a,{href:`/framework/sdk/configuration#manual-oauth-login`,children:`Manual OAuth login`}),`.`]}),_jsx(Heading,{level:`4`,id:`mobilerun-configure-openai`,children:_jsx(_components.code,{children:`mobilerun configure openai`})}),_jsx(_components.p,{children:`Authenticate a ChatGPT/OpenAI OAuth profile. The command uses a browser callback on desktop and can use a device-code flow in a headless environment.`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--credential-path`})}),_jsx(_components.td,{children:`OAuth credential file`}),_jsx(_components.td,{children:`Default credential file`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--model`})}),_jsx(_components.td,{children:`Optional model override for later API calls`}),_jsx(_components.td,{children:`Provider default`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--timeout`})}),_jsx(_components.td,{children:`Seconds to wait for authorization`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`300`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--callback-host`})}),_jsx(_components.td,{children:`Local callback host`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`localhost`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--callback-port`})}),_jsx(_components.td,{children:`Local callback port`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1455`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--callback-path`})}),_jsx(_components.td,{children:`Local callback path`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/auth/callback`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--open-browser`}),` / `,_jsx(_components.code,{children:`--no-browser`})]}),_jsx(_components.td,{children:`Open the authorization URL automatically`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--open-browser`})})]})]})]}),_jsx(Heading,{level:`4`,id:`mobilerun-configure-anthropic`,children:_jsx(_components.code,{children:`mobilerun configure anthropic`})}),_jsx(_components.p,{children:`Authenticate with Anthropic, or save an existing setup token without starting the browser flow.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` configure`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` anthropic`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` configure`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` anthropic`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`setup-toke`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--credential-path`})}),_jsx(_components.td,{children:`Credential file`}),_jsx(_components.td,{children:`Default credential file`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--token`})}),_jsx(_components.td,{children:`Setup token to save instead of running OAuth`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--timeout`})}),_jsx(_components.td,{children:`Seconds to wait for authorization`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`300`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--open-browser`}),` / `,_jsx(_components.code,{children:`--no-browser`})]}),_jsx(_components.td,{children:`Open the authorization URL automatically`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--open-browser`})})]})]})]}),_jsx(Heading,{level:`4`,id:`mobilerun-configure-gemini`,children:_jsx(_components.code,{children:`mobilerun configure gemini`})}),_jsx(_components.p,{children:`Authenticate a Gemini Code Assist OAuth profile.`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--credential-path`})}),_jsx(_components.td,{children:`OAuth credential file`}),_jsx(_components.td,{children:`Default credential file`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--model`})}),_jsx(_components.td,{children:`Optional model override for later API calls`}),_jsx(_components.td,{children:`Provider default`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--timeout`})}),_jsx(_components.td,{children:`Seconds to wait for authorization`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`300`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--callback-host`})}),_jsx(_components.td,{children:`Local callback host`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`127.0.0.1`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--callback-port`})}),_jsxs(_components.td,{children:[`Local callback port; `,_jsx(_components.code,{children:`0`}),` selects one automatically`]}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--callback-path`})}),_jsx(_components.td,{children:`Local callback path`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/oauth2callback`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--open-browser`}),` / `,_jsx(_components.code,{children:`--no-browser`})]}),_jsx(_components.td,{children:`Open the authorization URL automatically`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--open-browser`})})]})]})]}),_jsx(Heading,{level:`4`,id:`mobilerun-configure-xai`,children:_jsx(_components.code,{children:`mobilerun configure xai`})}),_jsxs(_components.p,{children:[`Sign in to xAI with OAuth and save your login. Then run `,_jsx(_components.code,{children:`mobilerun configure`}),` and select xAI OAuth for your agent.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` configure`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` xai`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# SSH or another headless machine`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` configure`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` xai`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --device-code`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --no-browser`})]}),`\n`]})})}),_jsx(_components.p,{children:`For device-code login, open the printed URL, enter the code, and keep the code private.`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--credential-path`})}),_jsx(_components.td,{children:`OAuth credential file`}),_jsx(_components.td,{children:`Default credential file`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--model`})}),_jsxs(_components.td,{children:[`xAI model (`,_jsx(_components.code,{children:`grok-4.6`}),` or `,_jsx(_components.code,{children:`grok-4.5`}),`)`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`grok-4.6`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--timeout`})}),_jsx(_components.td,{children:`Seconds to wait for authorization`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`300`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--open-browser`}),` / `,_jsx(_components.code,{children:`--no-browser`})]}),_jsx(_components.td,{children:`Open the authorization URL automatically`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`--open-browser`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--device-code`})}),_jsx(_components.td,{children:`Use device-code login`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]})]})]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`When you pass `,_jsx(_components.code,{children:`--credential-path`}),`, use the same path in the corresponding LLM profile.`]})})]}),_jsxs(Tab,{title:`Cloud Login`,id:`cloud-login`,\"data-child-heading-ids\":`[\"mobilerun-login\",\"mobilerun-whoami\",\"mobilerun-logout\"]`,children:[_jsxs(_components.p,{children:[`Use these commands to sign in to Mobilerun Cloud for Cloud device listing and direct actions. LLM provider sign-in uses `,_jsx(_components.code,{children:`mobilerun configure`}),`.`]}),_jsx(Heading,{level:`3`,id:`mobilerun-login`,children:_jsx(_components.code,{children:`mobilerun login`})}),_jsxs(_components.p,{children:[`Run `,_jsx(_components.code,{children:`mobilerun login`}),`, open the verification link, enter the displayed code, and approve the sign-in. Mobilerun saves the session locally.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Advanced overrides`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --auth-url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://cloud.mobilerun.ai/api/auth`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --client-id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mobilerun-cli`})]}),`\n`]})})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--auth-url`})}),_jsxs(_components.td,{children:[`Mobilerun Cloud authentication URL; `,_jsx(_components.code,{children:`MOBILERUN_AUTH_URL`}),` also overrides it`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://cloud.mobilerun.ai/api/auth`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--client-id`})}),_jsx(_components.td,{children:`OAuth device client id`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`mobilerun-cli`})})]})]})]}),_jsx(Heading,{level:`3`,id:`mobilerun-whoami`,children:_jsx(_components.code,{children:`mobilerun whoami`})}),_jsx(_components.p,{children:`Show the email and user ID for the current Cloud session.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` whoami`})]}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`mobilerun-logout`,children:_jsx(_components.code,{children:`mobilerun logout`})}),_jsx(_components.p,{children:`Sign out and remove the saved Cloud credential.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` logout`})]}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`mobilerun devices`}),` and Cloud direct actions use `,_jsx(_components.code,{children:`MOBILERUN_CLOUD_API_KEY`}),` when it is set. Otherwise, they use the credential saved by `,_jsx(_components.code,{children:`mobilerun login`}),`. `,_jsx(_components.code,{children:`mobilerun whoami`}),` and `,_jsx(_components.code,{children:`mobilerun logout`}),` operate on the saved login. These commands do not use `,_jsx(_components.code,{children:`MOBILERUN_API_KEY`}),`.`]})]}),_jsxs(Tab,{title:`Device Management`,id:`device-management`,\"data-child-heading-ids\":`[\"mobilerun-devices\",\"mobilerun-setup\",\"mobilerun-ping\",\"mobilerun-doctor\",\"mobilerun-connect\",\"mobilerun-disconnect\",\"mobilerun-device\",\"target-a-cloud-device\"]`,children:[_jsx(Heading,{level:`3`,id:`mobilerun-devices`,children:_jsx(_components.code,{children:`mobilerun devices`})}),_jsx(_components.p,{children:`List local Android devices and, when a Cloud credential is available, Mobilerun Cloud devices.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Local devices, plus Cloud devices when a credential is available`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devices`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Only Mobilerun Cloud devices`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devices`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --cloud`})]}),`\n`]})})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--cloud`})}),_jsx(_components.td,{children:`Skip ADB and list only cloud devices`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--base-url`})}),_jsx(_components.td,{children:`Cloud API base URL`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://api.mobilerun.ai/v1`})})]})]})]}),_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`--cloud`}),` to list only Cloud devices. It returns an error if authentication is missing or Cloud cannot be reached.`]}),_jsx(_components.hr,{}),_jsx(Heading,{level:`3`,id:`mobilerun-setup`,children:_jsx(_components.code,{children:`mobilerun setup`})}),_jsx(_components.p,{children:`Install the Portal APK on an Android device. Without a version flag, Mobilerun selects the Portal release compatible with the installed Mobilerun version.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Auto-detect device`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Specific device`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` emulator-5554`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Custom APK`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --path`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /path/to/portal.apk`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Newest available Portal release`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --latest`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Pin a release`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --portal-version`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.7.1`})]}),`\n`]})})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--device`}),`, `,_jsx(_components.code,{children:`-d`})]}),_jsx(_components.td,{children:`Android serial or IP`}),_jsx(_components.td,{children:`Auto-detect`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--path`})}),_jsx(_components.td,{children:`Install an APK from a local path`}),_jsx(_components.td,{children:`Compatible download`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--portal-version`}),`, `,_jsx(_components.code,{children:`-pv`})]}),_jsx(_components.td,{children:`Download a specific Portal version`}),_jsx(_components.td,{children:`Compatible version`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--latest`})}),_jsx(_components.td,{children:`Download the latest Portal instead of the compatible version`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--debug`})}),_jsx(_components.td,{children:`Enable verbose setup logging`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]})]})]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`What it does:`})}),_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Downloads the compatible Portal APK`}),`\n`,_jsx(_components.li,{children:`Installs it and grants the Android permissions allowed during installation`}),`\n`,_jsx(_components.li,{children:`Attempts to enable the accessibility service`}),`\n`,_jsx(_components.li,{children:`Opens settings if manual enable needed`}),`\n`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`To use Android through ADB without Portal, set `,_jsx(_components.code,{children:`device.portal_mode: disabled`}),`.`]})}),_jsx(_components.hr,{}),_jsx(Heading,{level:`3`,id:`mobilerun-ping`,children:_jsx(_components.code,{children:`mobilerun ping`})}),_jsxs(_components.p,{children:[`Test Portal with `,_jsx(_components.code,{children:`mobilerun ping`}),`. For an ADB-only setup, use `,_jsx(_components.code,{children:`adb devices -l`}),`.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Test default communication`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ping`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Test TCP mode`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ping`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tcp`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Specific device`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ping`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 192.168.1.100:5555`})]}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Success output:`}),` `,_jsx(_components.code,{children:`Portal is installed and accessible. You're good to go!`})]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--device`}),`, `,_jsx(_components.code,{children:`-d`})]}),_jsx(_components.td,{children:`Android serial or IP`}),_jsx(_components.td,{children:`Auto-detect`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--tcp`}),` / `,_jsx(_components.code,{children:`--no-tcp`})]}),_jsx(_components.td,{children:`Select Portal TCP communication`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--debug`}),` / `,_jsx(_components.code,{children:`--no-debug`})]}),_jsx(_components.td,{children:`Enable verbose connection logging`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]})]})]}),_jsx(_components.hr,{}),_jsx(Heading,{level:`3`,id:`mobilerun-doctor`,children:_jsx(_components.code,{children:`mobilerun doctor`})}),_jsx(_components.p,{children:`Run system and device diagnostics.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` doctor`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` doctor`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` emulator-5554`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --debug`})]}),`\n`]})})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--device`}),`, `,_jsx(_components.code,{children:`-d`})]}),_jsx(_components.td,{children:`Device serial or IP`}),_jsx(_components.td,{children:`Auto-detect`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--debug`}),` / `,_jsx(_components.code,{children:`--no-debug`})]}),_jsx(_components.td,{children:`Enable verbose diagnostic output`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]})]})]}),_jsx(_components.hr,{}),_jsx(Heading,{level:`3`,id:`mobilerun-connect`,children:_jsx(_components.code,{children:`mobilerun connect`})}),_jsx(_components.p,{children:`Connect to device via TCP/IP.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` connect`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 192.168.1.100:5555`})]}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Prerequisites:`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Enable wireless debugging (Android 11+)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Settings > Developer options > Wireless debugging`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Or via USB:`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adb`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tcpip`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5555`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adb`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` shell`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` route`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` awk`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{print $9}'`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Get IP`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` connect`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`I`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`P`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:5555`})]}),`\n`]})})}),_jsx(_components.hr,{}),_jsx(Heading,{level:`3`,id:`mobilerun-disconnect`,children:_jsx(_components.code,{children:`mobilerun disconnect`})}),_jsx(_components.p,{children:`Disconnect from device.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` disconnect`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 192.168.1.100:5555`})]}),`\n`]})})}),_jsx(_components.hr,{}),_jsx(Heading,{level:`3`,id:`mobilerun-device`,children:_jsx(_components.code,{children:`mobilerun device`})}),_jsx(_components.p,{children:`Direct device actions that bypass the LLM agent.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`26`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Take a screenshot`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` screenshot`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Print the UI accessibility tree`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ui`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Tap at coordinates`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tap`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 500`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 500`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Swipe from point to point`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` swipe`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 100`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 500`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 100`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 200`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --duration`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.5`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Long press at coordinates`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` long-press`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 500`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 500`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Type text into focused field`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` type`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Hello world\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --clear`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Press a system button (back, home, enter)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` press`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` back`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# List installed apps`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` apps`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --system`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Launch an app by package name`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` start`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` com.example.app`})]}),`\n`]})})}),_jsx(_components.p,{children:`All direct-action subcommands accept these common flags:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--device`}),`, `,_jsx(_components.code,{children:`-d`})]}),_jsx(_components.td,{children:`Local device serial/IP or Cloud device UUID`}),_jsx(_components.td,{children:`From config / auto-detect`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--config`}),`, `,_jsx(_components.code,{children:`-c`})]}),_jsx(_components.td,{children:`Explicit Framework config file`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`MOBILERUN_CONFIG`}),`, then platform config`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--tcp`}),` / `,_jsx(_components.code,{children:`--no-tcp`})]}),_jsx(_components.td,{children:`Override local Android TCP communication`}),_jsx(_components.td,{children:`From config`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--ios`})}),_jsx(_components.td,{children:`Target a local iOS device`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--cloud`})}),_jsx(_components.td,{children:`Target a Mobilerun Cloud device`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--device-id`})}),_jsxs(_components.td,{children:[`Cloud device id; `,_jsx(_components.code,{children:`-d`}),` also accepts it`]}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--base-url`})}),_jsx(_components.td,{children:`Cloud API base URL`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://api.mobilerun.ai/v1`})})]})]})]}),_jsxs(_components.p,{children:[`Action-specific options are `,_jsx(_components.code,{children:`swipe --duration \u003cseconds>`}),` (default `,_jsx(_components.code,{children:`1.0`}),`), `,_jsx(_components.code,{children:`type --clear`}),`, and `,_jsx(_components.code,{children:`apps --system`}),` / `,_jsx(_components.code,{children:`--no-system`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`mobilerun device long-press`}),` is not available for local iOS devices.`]}),_jsx(Heading,{level:`3`,id:`target-a-cloud-device`,children:`Target a cloud device`}),_jsxs(_components.p,{children:[`Pass a Cloud device UUID with `,_jsx(_components.code,{children:`--cloud --device-id`}),`. When a Cloud credential is available, you can also pass the UUID with `,_jsx(_components.code,{children:`-d`}),`.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Use --cloud explicitly`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` screenshot`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --cloud`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --device-id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 7f1c1d2e-4b8a-4a3a-9a4d-1234567890ab`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Use an available Cloud credential`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tap`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 500`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 500`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 7f1c1d2e-4b8a-4a3a-9a4d-1234567890ab`})]}),`\n`]})})}),_jsx(_components.p,{children:`ADB serials target local devices.`}),_jsx(Note,{children:_jsx(_components.p,{children:`Cloud direct actions support Android only.`})})]}),_jsxs(Tab,{title:`Macros`,id:`macros`,\"data-child-heading-ids\":`[\"mobilerun-macro-list\",\"mobilerun-macro-replay\",\"recording-trajectories\"]`,children:[_jsx(_components.p,{children:`Record and replay automation sequences.`}),_jsx(Heading,{level:`3`,id:`mobilerun-macro-list`,children:_jsx(_components.code,{children:`mobilerun macro list`})}),_jsx(_components.p,{children:`List saved trajectories.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Default directory`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` macro`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Custom directory`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` macro`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /path/to/trajectories`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Pass `,_jsx(_components.code,{children:`--debug`}),` to include load errors and other diagnostic output.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Output:`})}),_jsx(CodeBlock,{numberOfLines:`9`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Found 3 trajectory(s):`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┓`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`┃ Folder ┃ Description ┃ Actions ┃`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━┩`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ open-settings │ Opens settings app │ 3 │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`│ enable-dark-mode │ Navigate to display... │ 8 │`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`└──────────────────┴───────────────────────────┴─────────┘`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.hr,{}),_jsx(Heading,{level:`3`,id:`mobilerun-macro-replay`,children:_jsx(_components.code,{children:`mobilerun macro replay`})}),_jsx(_components.p,{children:`Replay recorded macro.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Basic replay`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` macro`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` replay`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` trajectories/open-settings`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Custom device and timing`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` macro`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` replay`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` trajectories/login-flow`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` emulator-5554`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --delay`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.5`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Start from specific step`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` macro`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` replay`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` trajectories/checkout`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --start-from`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --max-steps`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 10`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Preview without executing`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` macro`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` replay`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` trajectories/test`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --dry-run`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Continue with the agent if the replay no longer matches the screen`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` macro`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` replay`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` trajectories/checkout`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --on-mismatch`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` agent`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --config`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /path/to/config.yaml`})]}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Flags:`})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--device`}),`, `,_jsx(_components.code,{children:`-d`})]}),_jsx(_components.td,{children:`Device serial`}),_jsx(_components.td,{children:`Auto-detect`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--delay`}),`, `,_jsx(_components.code,{children:`-t`})]}),_jsx(_components.td,{children:`Seconds between actions`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1.0`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--start-from`}),`, `,_jsx(_components.code,{children:`-s`})]}),_jsx(_components.td,{children:`Start step (1-based)`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--max-steps`}),`, `,_jsx(_components.code,{children:`-m`})]}),_jsx(_components.td,{children:`Max steps to run`}),_jsx(_components.td,{children:`All`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--dry-run`})}),_jsx(_components.td,{children:`Preview only`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--debug`})}),_jsx(_components.td,{children:`Enable replay debug logging`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--on-mismatch`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`stop`}),`, or `,_jsx(_components.code,{children:`agent`}),` to continue when the screen no longer matches the recording`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`stop`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--state-timeout`})}),_jsx(_components.td,{children:`Seconds to wait for the recorded screen state before each action`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5.0`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--state-threshold`})}),_jsx(_components.td,{children:`Minimum similarity score (0–1) between the current and recorded UI state`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0.85`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--config`})}),_jsxs(_components.td,{children:[`Config used by `,_jsx(_components.code,{children:`--on-mismatch agent`})]}),_jsx(_components.td,{children:`Default config`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--provider`})}),_jsxs(_components.td,{children:[`LLM provider used by `,_jsx(_components.code,{children:`--on-mismatch agent`})]}),_jsx(_components.td,{children:`From config`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--model`})}),_jsxs(_components.td,{children:[`LLM model used by `,_jsx(_components.code,{children:`--on-mismatch agent`})]}),_jsx(_components.td,{children:`From config`})]})]})]}),_jsxs(_components.p,{children:[`With `,_jsx(_components.code,{children:`--on-mismatch agent`}),`, Mobilerun uses your default configuration unless you pass `,_jsx(_components.code,{children:`--config`}),` or both `,_jsx(_components.code,{children:`--provider`}),` and `,_jsx(_components.code,{children:`--model`}),`.`]}),_jsx(_components.hr,{}),_jsx(Heading,{level:`3`,id:`recording-trajectories`,children:`Recording Trajectories`}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Record at action level (most detailed)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Create alarm for 7am\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --save-trajectory`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` action`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Record at step level`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Export contacts\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --save-trajectory`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` step`})]}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Trajectory structure:`})}),_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`trajectories/2025-10-16_14-30-45/`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`├── macro.json # Action sequence`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`├── step_0.png # Screenshots`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`├── step_1.png`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`└── ...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`configuration`,children:`Configuration`}),`\n`,_jsx(Heading,{level:`3`,id:`override-priority`,children:`Override Priority`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`CLI flags`}),` (highest)`]}),`\n`,_jsxs(_components.li,{children:[`Explicit `,_jsx(_components.code,{children:`--config`}),` file`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MOBILERUN_CONFIG`}),` environment variable`]}),`\n`,_jsxs(_components.li,{children:[`Platform config file (for example, `,_jsx(_components.code,{children:`~/.config/droidrun/config.yaml`}),` on Linux)`]}),`\n`,_jsx(_components.li,{children:`Built-in defaults (lowest)`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`common-patterns`,children:`Common Patterns`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Quick Test`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Turn on dark mode\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GoogleGenAI`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --model`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gemini-3.5-flash-lite`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Debug Task`,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Book ride to airport\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --debug`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --reasoning`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --vision`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --save-trajectory`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` action`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Cost Optimization`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Set alarm\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --provider`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GoogleGenAI`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --model`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gemini-3.5-flash-lite`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --no-vision`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Screenshot Only`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Check Wi-Fi\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --vision-only`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --control-backend`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` visual-remote`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --device`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:8090`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Multiple Devices`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` device`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adb`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devices`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` awk`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'NR>1 {print $1}'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`do`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Clear notifications\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --device`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $device`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`done`})}),`\n`]})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`No devices found`,id:`no-devices-found`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Check ADB`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adb`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devices`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# If unauthorized: Accept prompt on device`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# If not listed: Try different USB port/cable`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Restart ADB`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adb`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` kill-server`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026\u0026 `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adb`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` start-server`})]}),`\n`]})})})}),_jsx(Accordion,{title:`Portal not accessible`,id:`portal-not-accessible`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Verify installation`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adb`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` shell`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` packages`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` grep`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mobilerun`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Reinstall`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Enable accessibility manually`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adb`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` shell`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` settings`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` put`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` secure`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` enabled_accessibility_services`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` com.mobilerun.portal/com.mobilerun.portal.service.MobilerunAccessibilityService`})}),`\n`]})})})}),_jsx(Accordion,{title:`LLM provider errors`,id:`llm-provider-errors`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Install provider`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`uv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'mobilerun[anthropic]'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Check API key`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $GOOGLE_API_KEY`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Set if missing`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` GOOGLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`your-key`})]}),`\n`]})})})}),_jsx(Accordion,{title:`Command times out`,id:`command-times-out`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Increase steps`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Complex task\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --steps`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 50`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Enable debug mode`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Task\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --debug`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Try reasoning mode`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Multi-step task\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --reasoning`})]}),`\n`]})})})}),_jsx(Accordion,{title:`TCP connection fails`,id:`tcp-connection-fails`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Enable TCP mode (USB connected first)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adb`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tcpip`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5555`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Get device IP`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`adb`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` shell`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` route`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` awk`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{print $9}'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Connect`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` connect`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`I`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`P`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:5555`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Verify`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mobilerun`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ping`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tcp`})]}),`\n`]})})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`environment-variables`,children:`Environment Variables`}),`\n`,_jsxs(Tip,{children:[`For first-time setup, use `,_jsx(_components.code,{children:`mobilerun configure`}),` to interactively choose your provider and credentials. Environment variables below are useful for overrides and CI/CD.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Variable`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GOOGLE_API_KEY`})}),_jsx(_components.td,{children:`Google Gemini API key`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`OPENAI_API_KEY`})}),_jsx(_components.td,{children:`OpenAI API key`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`XAI_API_KEY`})}),_jsx(_components.td,{children:`xAI API key for Grok`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ANTHROPIC_API_KEY`})}),_jsx(_components.td,{children:`Anthropic API key`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DEEPSEEK_API_KEY`})}),_jsx(_components.td,{children:`DeepSeek API key`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`OPENROUTER_API_KEY`})}),_jsx(_components.td,{children:`OpenRouter API key`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`MINIMAX_API_KEY`})}),_jsx(_components.td,{children:`MiniMax API key`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ZAI_API_KEY`})}),_jsx(_components.td,{children:`ZAI API key`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`MOBILERUN_CLOUD_API_KEY`})}),_jsxs(_components.td,{children:[`Cloud key for `,_jsx(_components.code,{children:`devices --cloud`}),` and cloud direct actions`]}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`MOBILERUN_AUTH_URL`})}),_jsxs(_components.td,{children:[`Auth server used by `,_jsx(_components.code,{children:`mobilerun login`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://cloud.mobilerun.ai/api/auth`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`MOBILERUN_CONFIG`})}),_jsx(_components.td,{children:`Override the Framework config path`}),_jsx(_components.td,{children:`Unset (platform config is used)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`MOBILERUN_DEVICE_TOKEN`})}),_jsxs(_components.td,{children:[`Bearer token for an authenticated `,_jsx(_components.code,{children:`mobilerun-ios --local`}),` server`]}),_jsx(_components.td,{children:`None`})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Cloud device commands use `,_jsx(_components.code,{children:`MOBILERUN_CLOUD_API_KEY`}),`, not `,_jsx(_components.code,{children:`MOBILERUN_API_KEY`}),`.`]})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Setting variables:`})}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Linux/macOS`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` GOOGLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`your-key`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Windows PowerShell`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`GOOGLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-key\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Permanent (Linux/macOS)`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'export GOOGLE_API_KEY=your-key'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` >>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ~/.bashrc`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`source`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ~/.bashrc`})]}),`\n`]})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next Steps`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/framework/sdk/configuration`,children:`Configuration Guide`}),` - Customize behavior`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/framework/guides/device-setup`,children:`Device Setup`}),` - Detailed setup instructions`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/framework/concepts/architecture`,children:`Agent Architecture`}),` - How it works`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/framework/features/custom-tools`,children:`Custom Tools`}),` - Extend functionality`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"CLI Usage","description":"Command-line interface for controlling devices with natural language","href":"/framework/guides/cli"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[{"title":"Quick Start","slug":"quick-start","depth":3,"children":[]}]},{"title":"Commands","slug":"commands","depth":2,"children":[{"title":"Usage","slug":"usage","depth":3,"children":[],"tabId":"run"},{"title":"Flags","slug":"flags","depth":3,"children":[],"tabId":"run"},{"title":"Examples","slug":"examples","depth":3,"children":[],"tabId":"run"},{"title":"Provider Options","slug":"provider-options","depth":3,"children":[],"tabId":"run"},{"title":"mobilerun configure","slug":"mobilerun-configure","depth":3,"children":[],"tabId":"configure"},{"title":"Default models","slug":"default-models","depth":3,"children":[],"tabId":"configure"},{"title":"Provider OAuth login commands","slug":"provider-oauth-login-commands","depth":3,"children":[],"tabId":"configure"},{"title":"mobilerun configure openai","slug":"mobilerun-configure-openai","depth":4,"children":[],"tabId":"configure"},{"title":"mobilerun configure anthropic","slug":"mobilerun-configure-anthropic","depth":4,"children":[],"tabId":"configure"},{"title":"mobilerun configure gemini","slug":"mobilerun-configure-gemini","depth":4,"children":[],"tabId":"configure"},{"title":"mobilerun configure xai","slug":"mobilerun-configure-xai","depth":4,"children":[],"tabId":"configure"},{"title":"mobilerun login","slug":"mobilerun-login","depth":3,"children":[],"tabId":"cloud-login"},{"title":"mobilerun whoami","slug":"mobilerun-whoami","depth":3,"children":[],"tabId":"cloud-login"},{"title":"mobilerun logout","slug":"mobilerun-logout","depth":3,"children":[],"tabId":"cloud-login"},{"title":"mobilerun devices","slug":"mobilerun-devices","depth":3,"children":[],"tabId":"device-management"},{"title":"mobilerun setup","slug":"mobilerun-setup","depth":3,"children":[],"tabId":"device-management"},{"title":"mobilerun ping","slug":"mobilerun-ping","depth":3,"children":[],"tabId":"device-management"},{"title":"mobilerun doctor","slug":"mobilerun-doctor","depth":3,"children":[],"tabId":"device-management"},{"title":"mobilerun connect","slug":"mobilerun-connect","depth":3,"children":[],"tabId":"device-management"},{"title":"mobilerun disconnect","slug":"mobilerun-disconnect","depth":3,"children":[],"tabId":"device-management"},{"title":"mobilerun device","slug":"mobilerun-device","depth":3,"children":[],"tabId":"device-management"},{"title":"Target a cloud device","slug":"target-a-cloud-device","depth":3,"children":[],"tabId":"device-management"},{"title":"mobilerun macro list","slug":"mobilerun-macro-list","depth":3,"children":[],"tabId":"macros"},{"title":"mobilerun macro replay","slug":"mobilerun-macro-replay","depth":3,"children":[],"tabId":"macros"},{"title":"Recording Trajectories","slug":"recording-trajectories","depth":3,"children":[],"tabId":"macros"}]},{"title":"Configuration","slug":"configuration","depth":2,"children":[{"title":"Override Priority","slug":"override-priority","depth":3,"children":[]},{"title":"Common Patterns","slug":"common-patterns","depth":3,"children":[]}]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Environment Variables","slug":"environment-variables","depth":2,"children":[]},{"title":"Next Steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"mobilerun","siteName":"Mobilerun","title":"CLI Usage - Mobilerun","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T07:52:59.947Z","originalFileLocation":"framework/guides/cli.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Command-line interface for controlling devices with natural language\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mobilerun\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mobilerun/0rQTQmMhNsQvIVRn/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mobilerun/0rQTQmMhNsQvIVRn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mobilerun/0rQTQmMhNsQvIVRn/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mobilerun/0rQTQmMhNsQvIVRn/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mobilerun/0rQTQmMhNsQvIVRn/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mobilerun/0rQTQmMhNsQvIVRn/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mobilerun/0rQTQmMhNsQvIVRn/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mobilerun/0rQTQmMhNsQvIVRn/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mobilerun/0rQTQmMhNsQvIVRn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"CLI Usage - Mobilerun\">\u003cmeta data-mint-head property=\"og:description\" content=\"Command-line interface for controlling devices with natural language\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mobilerun\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mobilerun.ai/framework/guides/cli\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mobilerun.mintlify.site/_mintlify/api/og/v2?division=Build+an+agent\u0026amp;title=CLI+Usage\u0026amp;description=Command-line+interface+for+controlling+devices+with+natural+language\u0026amp;theme=22dce65850dbe2019d5cff52\u0026amp;signature=36c1ee9289dd65f4e4958fa62b1fd13a3ac5969ce3b79ea9c947ef46731f49d1\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"CLI Usage - Mobilerun\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Command-line interface for controlling devices with natural language\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mobilerun.mintlify.site/_mintlify/api/og/v2?division=Build+an+agent\u0026amp;title=CLI+Usage\u0026amp;description=Command-line+interface+for+controlling+devices+with+natural+language\u0026amp;theme=22dce65850dbe2019d5cff52\u0026amp;signature=36c1ee9289dd65f4e4958fa62b1fd13a3ac5969ce3b79ea9c947ef46731f49d1\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mobilerun/0rQTQmMhNsQvIVRn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mobilerun\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4566D9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mobilerun.ai/framework/guides/cli\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/framework/guides/cli.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mobilerun.ai/#organization\",\"name\":\"Mobilerun\",\"url\":\"https://docs.mobilerun.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mobilerun/dj4o2PD1fQzmydpp/logo/dark.svg?fit=max\u0026auto=format\u0026n=dj4o2PD1fQzmydpp\u0026q=85\u0026s=94794bb3cda4a2b043ae10ae8c62de4d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mobilerun.ai#website\",\"name\":\"Mobilerun\",\"url\":\"https://docs.mobilerun.ai\",\"publisher\":{\"@id\":\"https://docs.mobilerun.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mobilerun.ai/framework/guides/cli#webpage\",\"url\":\"https://docs.mobilerun.ai/framework/guides/cli\",\"name\":\"CLI Usage\",\"description\":\"Command-line interface for controlling devices with natural language\",\"dateModified\":\"2026-11-13T07:52:59.947Z\",\"isPartOf\":{\"@id\":\"https://docs.mobilerun.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mobilerun.ai/framework/guides/cli#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mobilerun.ai/framework/guides/cli#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Mobilerun\",\"item\":\"https://docs.mobilerun.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CLI Usage\",\"item\":\"https://docs.mobilerun.ai/framework/guides/cli\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.mobilerun.ai/framework/guides/cli#article\",\"headline\":\"CLI Usage\",\"name\":\"CLI Usage\",\"description\":\"Command-line interface for controlling devices with natural language\",\"url\":\"https://docs.mobilerun.ai/framework/guides/cli\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mobilerun.ai/framework/guides/cli#webpage\"},\"dateModified\":\"2026-11-13T07:52:59.947Z\",\"publisher\":{\"@id\":\"https://docs.mobilerun.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mobilerun.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mobilerun\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Mobilerun\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/framework/guides/cli.md","siteName":"Mobilerun","nav":{"global":null,"dropdowns":[{"dropdown":"Cloud","icon":"cloud","color":{"light":"#4566D9","dark":"#73A0FF"},"tabs":[{"tab":"Documentation","icon":"book","groups":[{"group":"Get started","icon":"rocket","pages":[{"sidebarTitle":"Choose your path","title":"Quickstart","href":"/quickstart"},{"sidebarTitle":"Run your first task","title":"Cloud Quickstart","href":"/cloud/quickstart"},{"title":"API Keys","href":"/api-keys"},{"sidebarTitle":"Credits \u0026 usage","title":"Credits \u0026 usage","href":"/credits"},{"title":"Get help","sidebarTitle":"Get help","href":"/support"}]},{"group":"Integrations","icon":"plug","pages":[{"title":"Integrations overview","href":"/integrations/overview"},{"title":"MCP Server","href":"/mcp-server"},{"group":"Coding agents","expanded":true,"pages":[{"icon":"https://mintlify.s3.us-west-1.amazonaws.com/mobilerun/images/integrations/logos/claude.svg","title":"Claude Code","href":"/integrations/coding-agents/claude-code"},{"icon":"https://mintlify.s3.us-west-1.amazonaws.com/mobilerun/images/integrations/logos/openai.png","title":"Codex","href":"/integrations/coding-agents/codex"},{"icon":"https://mintlify.s3.us-west-1.amazonaws.com/mobilerun/images/integrations/logos/cursor.svg","title":"Cursor","href":"/integrations/coding-agents/cursor"},{"icon":"https://mintlify.s3.us-west-1.amazonaws.com/mobilerun/images/integrations/logos/opencode.svg","title":"OpenCode","href":"/integrations/coding-agents/opencode"},{"icon":"https://mintlify.s3.us-west-1.amazonaws.com/mobilerun/images/integrations/logos/kilo.svg","title":"Kilo Code","href":"/integrations/coding-agents/kilocode"}]},{"group":"Personal agents","expanded":true,"pages":[{"icon":"https://mintlify.s3.us-west-1.amazonaws.com/mobilerun/images/integrations/logos/openclaw.svg","title":"OpenClaw","href":"/integrations/personal-agents/openclaw"},{"icon":"https://mintlify.s3.us-west-1.amazonaws.com/mobilerun/images/integrations/logos/hermes.svg","title":"Hermes Agent","href":"/integrations/personal-agents/hermes"}]},{"group":"Agent harnesses and SDKs","expanded":true,"pages":[{"icon":"https://mintlify.s3.us-west-1.amazonaws.com/mobilerun/images/integrations/logos/claude.svg","title":"Claude Agent SDK","href":"/integrations/agent-harnesses/claude-agent-sdk"},{"icon":"https://mintlify.s3.us-west-1.amazonaws.com/mobilerun/images/integrations/logos/openai.png","title":"OpenAI Agents SDK","href":"/integrations/agent-harnesses/openai-agents-sdk"},{"icon":"https://mintlify.s3.us-west-1.amazonaws.com/mobilerun/images/integrations/logos/langchain.svg","title":"LangChain","href":"/integrations/agent-harnesses/langchain"},{"icon":"https://mintlify.s3.us-west-1.amazonaws.com/mobilerun/images/integrations/logos/vercel.svg","title":"Vercel AI SDK","href":"/integrations/agent-harnesses/vercel-ai-sdk"},{"icon":"https://mintlify.s3.us-west-1.amazonaws.com/mobilerun/images/integrations/logos/agno.png","title":"Agno","href":"/integrations/agent-harnesses/agno"}]},{"group":"Workflow tools","expanded":true,"pages":[{"icon":"https://mintlify.s3.us-west-1.amazonaws.com/mobilerun/images/integrations/logos/n8n.svg","title":"n8n","href":"/integrations/workflow-tools/n8n"}]},{"title":"Embed a device stream in your app","href":"/guides/embed-device-stream"},{"group":"Agent skills","icon":"puzzle","pages":[{"sidebarTitle":"Choose a skill","title":"Agent Skills","href":"/skills/overview"},{"title":"OpenClaw · Android Control","href":"/skills/openclaw"},{"title":"Mobilerun Agents · chat","href":"/skills/assistant"},{"title":"Mobilerun Agents · MCP","href":"/skills/assistant-mcp"},{"title":"Mobile Harness · Coding Agents","href":"/skills/mobile-harness"}]}]},{"group":"Phones","icon":"smartphone","pages":[{"sidebarTitle":"Choose a phone","title":"Device Types","href":"/device-types"},{"sidebarTitle":"Manage devices","title":"Devices","href":"/devices"},{"group":"Set up a phone","icon":"settings","pages":[{"title":"Cloud Android Setup","href":"/guides/android-phone-setup"},{"title":"Connect an Android","href":"/guides/connect-android"},{"title":"Connect an iPhone","href":"/guides/connect-iphone"}]},{"group":"iOS CLI \u0026 signing","icon":"apple","pages":[{"sidebarTitle":"CLI overview","title":"CLI overview","href":"/mobilerun-ios/overview"},{"title":"Migrate to v0.5.0","sidebarTitle":"Migrate to v0.5.0","href":"/mobilerun-ios/migrate-v0-5"},{"title":"Setup and verification","href":"/mobilerun-ios/setup-and-verify"},{"title":"WDA signing","href":"/mobilerun-ios/wda-signing"},{"title":"Configuration","href":"/mobilerun-ios/configuration"},{"title":"Automatic onboarding","href":"/mobilerun-ios/auto"}]}]},{"group":"Apps \u0026 networking","icon":"network","pages":[{"title":"Apps","href":"/apps"},{"sidebarTitle":"App credentials","title":"Credentials","href":"/credentials"},{"sidebarTitle":"Connect \u0026 proxies","title":"Proxies","href":"/proxies"}]},{"group":"Run automation","icon":"play","pages":[{"sidebarTitle":"Configure the agent","title":"Agent","href":"/agent"},{"title":"Task runner","href":"/playground"},{"sidebarTitle":"Monitor tasks","title":"Tasks","href":"/tasks"},{"title":"Webhooks","href":"/webhooks"}]},{"group":"Developer tools","icon":"terminal","pages":[{"title":"ADB","href":"/integrations/adb"},{"title":"Browser Automation","href":"/browser-automation"},{"title":"Port Forwarding","href":"/port-forwarding"},{"title":"Network inspection","href":"/integrations/network-inspection"}]}]},{"tab":"Examples","icon":"lightbulb","groups":[{"group":"Examples","pages":[{"title":"Examples","sidebarTitle":"Overview","icon":"lightbulb","href":"/examples/overview"},{"title":"Read app data as JSON","icon":"table","href":"/examples/extract-data"},{"title":"Same app, different markets","icon":"globe","href":"/examples/markets"},{"title":"Test a flow and keep proof","icon":"circle-check","href":"/examples/test-and-prove"},{"title":"Drive the phone step by step","icon":"pointer","href":"/examples/drive-the-phone"},{"title":"Watch an app and get alerts","icon":"activity","href":"/examples/watch-and-alert"},{"title":"Automate your own phone","icon":"smartphone","href":"/examples/personal-phone"},{"title":"Finish a sign-up that sends a code","icon":"mail","href":"/examples/sign-up-codes"},{"title":"Your work phone in the browser","icon":"monitor","href":"/examples/stream-phone"}]}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Mobilerun Agents","pages":[{"group":"Chat","pages":[{"title":"List the user's named chat or agent-workflow sessions","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/chat.yaml get /assistant/chat/sessions","href":"/api-reference/chat/list-the-users-named-chat-or-agent-workflow-sessions"},{"title":"Create a named chat session","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/chat.yaml post /assistant/chat/sessions","href":"/api-reference/chat/create-a-named-chat-session"},{"title":"Rename, archive, or pin a named chat session","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/chat.yaml patch /assistant/chat/sessions/{id}","href":"/api-reference/chat/rename-archive-or-pin-a-named-chat-session"},{"title":"Send a single user message","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/chat.yaml post /assistant/chat/message","href":"/api-reference/chat/send-a-single-user-message"},{"title":"List messages for a chat session","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/chat.yaml get /assistant/chat/messages","href":"/api-reference/chat/list-messages-for-a-chat-session"},{"title":"Re-attach to the active turn stream","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/chat.yaml get /assistant/chat/stream","href":"/api-reference/chat/re-attach-to-the-active-turn-stream"},{"title":"Abort the named session's in-flight chat turn","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/chat.yaml post /assistant/chat/abort","href":"/api-reference/chat/abort-the-named-sessions-in-flight-chat-turn"},{"title":"Deliver a question answer to the user's active chat session","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/chat.yaml post /assistant/chat/question","href":"/api-reference/chat/deliver-a-question-answer-to-the-users-active-chat-session"},{"title":"Dismiss an outstanding question without answering","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/chat.yaml post /assistant/chat/question/reject","href":"/api-reference/chat/dismiss-an-outstanding-question-without-answering"},{"title":"Deliver a HITL approval/rejection to the user's active chat session","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/chat.yaml post /assistant/chat/permission","href":"/api-reference/chat/deliver-a-hitl-approvalrejection-to-the-users-active-chat-session"}]},{"group":"Files","pages":[{"title":"List the user's ready files, optionally filtered by zone","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/files.yaml get /agents/files","href":"/api-reference/files/list-the-users-ready-files-optionally-filtered-by-zone"},{"title":"Update file metadata (skills zone only)","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/files.yaml patch /agents/files/{fileId}","href":"/api-reference/files/update-file-metadata-skills-zone-only"},{"title":"Hard-delete a file","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/files.yaml delete /agents/files/{fileId}","href":"/api-reference/files/hard-delete-a-file"},{"title":"Confirm a file upload by server-side HEAD validation","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/files.yaml post /agents/files/{fileId}/confirm","href":"/api-reference/files/confirm-a-file-upload-by-server-side-head-validation"},{"title":"Download an owned file","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/files.yaml get /agents/files/{fileId}/download","href":"/api-reference/files/download-an-owned-file"},{"title":"Cancel a pending upload (transitions to expired, deletes the underlying object)","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/files.yaml delete /agents/files/{fileId}/pending","href":"/api-reference/files/cancel-a-pending-upload-transitions-to-expired-deletes-the-underlying-object"},{"title":"Mint a presigned PUT URL for a user file upload","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-agents/files.yaml post /agents/files/upload-url","href":"/api-reference/files/mint-a-presigned-put-url-for-a-user-file-upload"}]}]},{"group":"Phones","pages":[{"group":"Devices","expanded":true,"pages":[{"title":"Provision a new device","deprecated":null,"version":null,"openapi":"/api-reference/phones.yaml post /devices","href":"/api-reference/devices/provision-a-new-device"},{"title":"Get device info","deprecated":null,"version":null,"openapi":"/api-reference/phones.yaml get /devices/{deviceId}","href":"/api-reference/devices/get-device-info"},{"title":"List devices","deprecated":null,"version":null,"openapi":"/api-reference/phones.yaml get /devices","href":"/api-reference/devices/list-devices"},{"title":"Count claimed devices","deprecated":true,"version":null,"openapi":"/api-reference/phones.yaml get /devices/count","href":"/api-reference/devices/count-claimed-devices"},{"title":"Summarize claimed devices","deprecated":null,"version":null,"openapi":"/api-reference/phones.yaml get /devices/summary","href":"/api-reference/devices/summarize-claimed-devices"},{"title":"Device fingerprint snapshot","deprecated":null,"version":null,"openapi":"/api-reference/phones.yaml get /devices/{deviceId}/fingerprint","href":"/api-reference/devices/device-fingerprint-snapshot"},{"title":"Reboot a device","deprecated":null,"version":null,"openapi":"/api-reference/phones.yaml post /devices/{deviceId}/reboot","href":"/api-reference/devices/reboot-a-device"},{"title":"Reset a device to a fresh state","deprecated":null,"version":null,"openapi":"/api-reference/phones.yaml post /devices/{deviceId}/reset","href":"/api-reference/devices/reset-a-device-to-a-fresh-state"},{"title":"Update device name","deprecated":null,"version":null,"openapi":"/api-reference/phones.yaml put /devices/{deviceId}/name","href":"/api-reference/devices/update-device-name"},{"title":"Terminate a device","deprecated":null,"version":null,"openapi":"/api-reference/phones.yaml delete /devices/{deviceId}","href":"/api-reference/devices/terminate-a-device"},{"title":"Wait for device to be ready","deprecated":null,"version":null,"openapi":"/api-reference/phones.yaml get /devices/{deviceId}/wait","href":"/api-reference/devices/wait-for-device-to-be-ready"},{"title":"Get capabilities for a specific device","deprecated":null,"version":null,"openapi":"/api-reference/phones.yaml get /devices/{deviceId}/capabilities","href":"/api-reference/devices/get-capabilities-for-a-specific-device"},{"title":"Resume (unpark) a stopped device","deprecated":null,"version":null,"openapi":"/api-reference/phones.yaml post /devices/{deviceId}/resume","href":"/api-reference/devices/resume-unpark-a-stopped-device"},{"title":"Stop (park) a device","deprecated":null,"version":null,"openapi":"/api-reference/phones.yaml post /devices/{deviceId}/stop","href":"/api-reference/devices/stop-park-a-device"},{"group":"Tasks","pages":[{"title":"List tasks for a device","deprecated":null,"version":null,"openapi":"/api-reference/phones/tasks.yaml get /devices/{deviceId}/tasks","href":"/api-reference/tasks/list-tasks-for-a-device"}]}]},{"group":"Device Control","pages":[{"group":"Actions","pages":[{"title":"Perform a global action","deprecated":null,"version":null,"openapi":"/api-reference/phones/actions.yaml post /devices/{deviceId}/global","href":"/api-reference/actions/perform-a-global-action"},{"title":"Check if overlay is visible","deprecated":null,"version":null,"openapi":"/api-reference/phones/actions.yaml get /devices/{deviceId}/overlay","href":"/api-reference/actions/check-if-overlay-is-visible"},{"title":"Set overlay visibility","deprecated":null,"version":null,"openapi":"/api-reference/phones/actions.yaml post /devices/{deviceId}/overlay","href":"/api-reference/actions/set-overlay-visibility"},{"title":"Swipe","deprecated":null,"version":null,"openapi":"/api-reference/phones/actions.yaml post /devices/{deviceId}/swipe","href":"/api-reference/actions/swipe"},{"title":"Tap by coordinates","deprecated":null,"version":null,"openapi":"/api-reference/phones/actions.yaml post /devices/{deviceId}/tap","href":"/api-reference/actions/tap-by-coordinates"}]},{"group":"Keyboard","pages":[{"title":"Clear input","deprecated":null,"version":null,"openapi":"/api-reference/phones/keyboard.yaml delete /devices/{deviceId}/keyboard","href":"/api-reference/keyboard/clear-input"},{"title":"Input key","deprecated":null,"version":null,"openapi":"/api-reference/phones/keyboard.yaml put /devices/{deviceId}/keyboard","href":"/api-reference/keyboard/input-key"},{"title":"Input text","deprecated":null,"version":null,"openapi":"/api-reference/phones/keyboard.yaml post /devices/{deviceId}/keyboard","href":"/api-reference/keyboard/input-text"}]},{"group":"State","pages":[{"title":"Take screenshot","deprecated":true,"version":null,"openapi":"/api-reference/phones/state.yaml get /devices/{deviceId}/screenshot","href":"/api-reference/state/take-screenshot"},{"title":"Device time","deprecated":null,"version":null,"openapi":"/api-reference/phones/state.yaml get /devices/{deviceId}/time","href":"/api-reference/state/device-time"},{"title":"UI state","deprecated":null,"version":null,"openapi":"/api-reference/phones/state.yaml get /devices/{deviceId}/ui-state","href":"/api-reference/state/ui-state"}]},{"group":"Screenshots","pages":[{"title":"Capture a device screenshot","deprecated":null,"version":null,"openapi":"/api-reference/phones/screenshots.yaml post /devices/{deviceId}/screenshots","href":"/api-reference/screenshots/capture-a-device-screenshot"},{"title":"List device screenshots","deprecated":null,"version":null,"openapi":"/api-reference/phones/screenshots.yaml get /devices/{deviceId}/screenshots","href":"/api-reference/screenshots/list-device-screenshots"},{"title":"Get a device screenshot image","deprecated":null,"version":null,"openapi":"/api-reference/phones/screenshots.yaml get /devices/{deviceId}/screenshots/{screenshotId}/image","href":"/api-reference/screenshots/get-a-device-screenshot-image"},{"title":"Delete a device screenshot","deprecated":null,"version":null,"openapi":"/api-reference/phones/screenshots.yaml delete /devices/{deviceId}/screenshots/{screenshotId}","href":"/api-reference/screenshots/delete-a-device-screenshot"}]},{"group":"Clipboard","pages":[{"title":"Get device clipboard","deprecated":null,"version":null,"openapi":"/api-reference/phones/clipboard.yaml get /devices/{deviceId}/clipboard","href":"/api-reference/clipboard/get-device-clipboard"},{"title":"Set device clipboard","deprecated":null,"version":null,"openapi":"/api-reference/phones/clipboard.yaml post /devices/{deviceId}/clipboard","href":"/api-reference/clipboard/set-device-clipboard"}]},{"group":"Browser","pages":[{"title":"Execute JavaScript in the device's Chrome browser (CDP)","deprecated":null,"version":null,"openapi":"/api-reference/phones/browser.yaml post /devices/{deviceId}/browser/execute-script","href":"/api-reference/browser/execute-javascript-in-the-devices-chrome-browser-cdp"}]},{"group":"Deep Link","pages":[{"title":"Open a deep link","deprecated":null,"version":null,"openapi":"/api-reference/phones/deep-link.yaml post /devices/{deviceId}/apps/open-deep-link","href":"/api-reference/deep-link/open-a-deep-link"}]},{"group":"Kiosk","pages":[{"title":"Disable kiosk (lock-task) mode","deprecated":null,"version":null,"openapi":"/api-reference/phones/kiosk.yaml delete /devices/{deviceId}/kiosk","href":"/api-reference/kiosk/disable-kiosk-lock-task-mode"},{"title":"Enable kiosk (lock-task) mode","deprecated":null,"version":null,"openapi":"/api-reference/phones/kiosk.yaml put /devices/{deviceId}/kiosk","href":"/api-reference/kiosk/enable-kiosk-lock-task-mode"}]}]},{"group":"Apps \u0026 Files","pages":[{"group":"Apps","pages":[{"title":"List apps","deprecated":null,"version":null,"openapi":"/api-reference/phones/apps.yaml get /devices/{deviceId}/apps","href":"/api-reference/apps/list-apps"},{"title":"Delete app","deprecated":null,"version":null,"openapi":"/api-reference/phones/apps.yaml delete /devices/{deviceId}/apps/{packageName}","href":"/api-reference/apps/delete-app"},{"title":"Install app","deprecated":null,"version":null,"openapi":"/api-reference/phones/apps.yaml post /devices/{deviceId}/apps","href":"/api-reference/apps/install-app"},{"title":"Start app","deprecated":null,"version":null,"openapi":"/api-reference/phones/apps.yaml put /devices/{deviceId}/apps/{packageName}","href":"/api-reference/apps/start-app"},{"title":"Stop app","deprecated":null,"version":null,"openapi":"/api-reference/phones/apps.yaml patch /devices/{deviceId}/apps/{packageName}","href":"/api-reference/apps/stop-app"},{"title":"Revoke app permission","deprecated":null,"version":null,"openapi":"/api-reference/phones/apps.yaml delete /devices/{deviceId}/apps/{packageName}/permissions/{permission}","href":"/api-reference/apps/revoke-app-permission"},{"title":"Grant app permission","deprecated":null,"version":null,"openapi":"/api-reference/phones/apps.yaml put /devices/{deviceId}/apps/{packageName}/permissions/{permission}","href":"/api-reference/apps/grant-app-permission"},{"title":"List app installs","deprecated":null,"version":null,"openapi":"/api-reference/phones/apps.yaml get /devices/{deviceId}/apps/installs","href":"/api-reference/apps/list-app-installs"}]},{"group":"Packages","pages":[{"title":"List packages","deprecated":null,"version":null,"openapi":"/api-reference/phones/packages.yaml get /devices/{deviceId}/packages","href":"/api-reference/packages/list-packages"}]},{"group":"Files","pages":[{"title":"List files","deprecated":null,"version":null,"openapi":"/api-reference/phones/files.yaml get /devices/{deviceId}/files","href":"/api-reference/files/list-files"},{"title":"Delete file","deprecated":null,"version":null,"openapi":"/api-reference/phones/files.yaml delete /devices/{deviceId}/files","href":"/api-reference/files/delete-file"},{"title":"Download file","deprecated":null,"version":null,"openapi":"/api-reference/phones/files.yaml get /devices/{deviceId}/files/download","href":"/api-reference/files/download-file"},{"title":"Upload file","deprecated":null,"version":null,"openapi":"/api-reference/phones/files.yaml post /devices/{deviceId}/files","href":"/api-reference/files/upload-file"}]},{"group":"Recordings","pages":[{"title":"List device recordings","deprecated":null,"version":null,"openapi":"/api-reference/phones/recordings.yaml get /devices/{deviceId}/recordings","href":"/api-reference/recordings/list-device-recordings"},{"title":"Delete a device recording","deprecated":null,"version":null,"openapi":"/api-reference/phones/recordings.yaml delete /devices/{deviceId}/recordings/{recordingId}","href":"/api-reference/recordings/delete-a-device-recording"},{"title":"Start a device recording","deprecated":null,"version":null,"openapi":"/api-reference/phones/recordings.yaml post /devices/{deviceId}/recordings","href":"/api-reference/recordings/start-a-device-recording"},{"title":"Stop a device recording","deprecated":null,"version":null,"openapi":"/api-reference/phones/recordings.yaml post /devices/{deviceId}/recordings/{recordingId}","href":"/api-reference/recordings/stop-a-device-recording"},{"title":"Get a device recording","deprecated":null,"version":null,"openapi":"/api-reference/phones/recordings.yaml get /devices/{deviceId}/recordings/{recordingId}","href":"/api-reference/recordings/get-a-device-recording"},{"title":"Get a device recording trajectory","deprecated":null,"version":null,"openapi":"/api-reference/phones/recordings.yaml get /devices/{deviceId}/recordings/{recordingId}/trajectory","href":"/api-reference/recordings/get-a-device-recording-trajectory"},{"title":"Get a device recording video","deprecated":null,"version":null,"openapi":"/api-reference/phones/recordings.yaml get /devices/{deviceId}/recordings/{recordingId}/video","href":"/api-reference/recordings/get-a-device-recording-video"},{"title":"List a device recording's saved screenshots","deprecated":null,"version":null,"openapi":"/api-reference/phones/recordings.yaml get /devices/{deviceId}/recordings/{recordingId}/screenshots","href":"/api-reference/recordings/list-a-device-recordings-saved-screenshots"}]}]},{"group":"Network","pages":[{"group":"Proxy","pages":[{"title":"Connect proxy","deprecated":null,"version":null,"openapi":"/api-reference/phones/proxy.yaml post /devices/{deviceId}/proxy","href":"/api-reference/proxy/connect-proxy"},{"title":"Disconnect proxy","deprecated":null,"version":null,"openapi":"/api-reference/phones/proxy.yaml delete /devices/{deviceId}/proxy","href":"/api-reference/proxy/disconnect-proxy"},{"title":"Get proxy connection state","deprecated":null,"version":null,"openapi":"/api-reference/phones/proxy.yaml get /devices/{deviceId}/proxy","href":"/api-reference/proxy/get-proxy-connection-state"}]},{"group":"SIM","pages":[{"title":"List eSIM subscriptions","deprecated":null,"version":null,"openapi":"/api-reference/phones/sim.yaml get /devices/{deviceId}/esim","href":"/api-reference/sim/list-esim-subscriptions"},{"title":"Configure eSIM","deprecated":null,"version":null,"openapi":"/api-reference/phones/sim.yaml post /devices/{deviceId}/esim","href":"/api-reference/sim/configure-esim"},{"title":"Enable an eSIM subscription","deprecated":null,"version":null,"openapi":"/api-reference/phones/sim.yaml put /devices/{deviceId}/esim","href":"/api-reference/sim/enable-an-esim-subscription"},{"title":"Delete eSIM subscription","deprecated":null,"version":null,"openapi":"/api-reference/phones/sim.yaml delete /devices/{deviceId}/esim","href":"/api-reference/sim/delete-esim-subscription"},{"title":"Get eSIM connectivity status","deprecated":null,"version":null,"openapi":"/api-reference/phones/sim.yaml get /devices/{deviceId}/esim/status","href":"/api-reference/sim/get-esim-connectivity-status"},{"title":"Toggle eSIM data roaming","deprecated":null,"version":null,"openapi":"/api-reference/phones/sim.yaml put /devices/{deviceId}/esim/roaming","href":"/api-reference/sim/toggle-esim-data-roaming"},{"title":"List APNs for active subscriptions","deprecated":null,"version":null,"openapi":"/api-reference/phones/sim.yaml get /devices/{deviceId}/esim/apn","href":"/api-reference/sim/list-apns-for-active-subscriptions"},{"title":"Create and set an APN for an eSIM subscription","deprecated":null,"version":null,"openapi":"/api-reference/phones/sim.yaml post /devices/{deviceId}/esim/apn","href":"/api-reference/sim/create-and-set-an-apn-for-an-esim-subscription"},{"title":"Select an existing APN as preferred","deprecated":null,"version":null,"openapi":"/api-reference/phones/sim.yaml put /devices/{deviceId}/esim/apn","href":"/api-reference/sim/select-an-existing-apn-as-preferred"}]},{"group":"Traffic Sessions","pages":[{"title":"Start device traffic inspection","deprecated":null,"version":null,"openapi":"/api-reference/phones/traffic-sessions.yaml post /devices/{deviceId}/traffic/sessions","href":"/api-reference/traffic-sessions/start-device-traffic-inspection"},{"title":"List device traffic sessions","deprecated":null,"version":null,"openapi":"/api-reference/phones/traffic-sessions.yaml get /devices/{deviceId}/traffic/sessions","href":"/api-reference/traffic-sessions/list-device-traffic-sessions"},{"title":"Get a device traffic session","deprecated":null,"version":null,"openapi":"/api-reference/phones/traffic-sessions.yaml get /devices/{deviceId}/traffic/sessions/{sessionId}","href":"/api-reference/traffic-sessions/get-a-device-traffic-session"},{"title":"Stop device traffic inspection","deprecated":null,"version":null,"openapi":"/api-reference/phones/traffic-sessions.yaml delete /devices/{deviceId}/traffic/sessions/{sessionId}","href":"/api-reference/traffic-sessions/stop-device-traffic-inspection"}]}]},{"group":"Settings","pages":[{"group":"Location","pages":[{"title":"Get device location","deprecated":null,"version":null,"openapi":"/api-reference/phones/location.yaml get /devices/{deviceId}/location","href":"/api-reference/location/get-device-location"},{"title":"Set device location","deprecated":null,"version":null,"openapi":"/api-reference/phones/location.yaml post /devices/{deviceId}/location","href":"/api-reference/location/set-device-location"},{"title":"Reset the device location to default","deprecated":null,"version":null,"openapi":"/api-reference/phones/location.yaml delete /devices/{deviceId}/location","href":"/api-reference/location/reset-the-device-location-to-default"}]},{"group":"Timezone","pages":[{"title":"Get device timezone","deprecated":null,"version":null,"openapi":"/api-reference/phones/timezone.yaml get /devices/{deviceId}/timezone","href":"/api-reference/timezone/get-device-timezone"},{"title":"Set device timezone","deprecated":null,"version":null,"openapi":"/api-reference/phones/timezone.yaml post /devices/{deviceId}/timezone","href":"/api-reference/timezone/set-device-timezone"}]},{"group":"Language","pages":[{"title":"Get device language/locale","deprecated":null,"version":null,"openapi":"/api-reference/phones/language.yaml get /devices/{deviceId}/language","href":"/api-reference/language/get-device-languagelocale"},{"title":"Set device language/locale","deprecated":null,"version":null,"openapi":"/api-reference/phones/language.yaml post /devices/{deviceId}/language","href":"/api-reference/language/set-device-languagelocale"}]},{"group":"Profile","pages":[{"title":"Apply a profile to a device","deprecated":null,"version":null,"openapi":"/api-reference/phones/profile.yaml put /devices/{deviceId}/profile","href":"/api-reference/profile/apply-a-profile-to-a-device"}]}]}]},{"group":"Proxy","pages":[{"group":"Countries","pages":[{"title":"List available countries","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/countries.yaml get /connect/countries","href":"/api-reference/countries/list-available-countries"}]},{"group":"Proxies","pages":[{"title":"Get proxy by ID","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/proxies.yaml get /connect/proxies/{id}","href":"/api-reference/proxies/get-proxy-by-id"},{"title":"List proxies","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/proxies.yaml get /connect/proxies","href":"/api-reference/proxies/list-proxies"},{"title":"Create a proxy","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/proxies.yaml post /connect/proxies","href":"/api-reference/proxies/create-a-proxy"},{"title":"Delete a proxy","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/proxies.yaml delete /connect/proxies/{id}","href":"/api-reference/proxies/delete-a-proxy"},{"title":"List Proxy Connections","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/proxies.yaml get /connect/proxies/{id}/connections","href":"/api-reference/proxies/list-proxy-connections"},{"title":"Latency check","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/proxies.yaml get /connect/proxies/{id}/ping","href":"/api-reference/proxies/latency-check"},{"title":"Update a proxy","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/proxies.yaml patch /connect/proxies/{id}","href":"/api-reference/proxies/update-a-proxy"},{"title":"Ensure the proxy's upstream session works","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/proxies.yaml post /connect/proxies/{id}/ensure-healthy","href":"/api-reference/proxies/ensure-the-proxys-upstream-session-works"},{"title":"Get a payable checkout for a pending proxy","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/proxies.yaml post /connect/proxies/{id}/checkout","href":"/api-reference/proxies/get-a-payable-checkout-for-a-pending-proxy"}]},{"group":"Users","pages":[{"title":"Create a SOCKS5 user","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/users.yaml post /connect/users","href":"/api-reference/users/create-a-socks5-user"},{"title":"Get a SOCKS5 user by ID","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/users.yaml get /connect/users/{id}","href":"/api-reference/users/get-a-socks5-user-by-id"},{"title":"Update a SOCKS5 user","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/users.yaml patch /connect/users/{id}","href":"/api-reference/users/update-a-socks5-user"},{"title":"List SOCKS5 users","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/users.yaml get /connect/users","href":"/api-reference/users/list-socks5-users"},{"title":"Delete a SOCKS5 user","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/users.yaml delete /connect/users/{id}","href":"/api-reference/users/delete-a-socks5-user"},{"title":"List connections by SOCKS5 user","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/users.yaml get /connect/users/{id}/connections","href":"/api-reference/users/list-connections-by-socks5-user"}]},{"group":"Custom Proxies","pages":[{"title":"Create a proxy config","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/custom-proxies.yaml post /proxies","href":"/api-reference/custom-proxies/create-a-proxy-config"},{"title":"Get a proxy config","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/custom-proxies.yaml get /proxies/{proxyId}","href":"/api-reference/custom-proxies/get-a-proxy-config"},{"title":"Update a proxy config","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/custom-proxies.yaml put /proxies/{proxyId}","href":"/api-reference/custom-proxies/update-a-proxy-config"},{"title":"List proxy configs","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/custom-proxies.yaml get /proxies","href":"/api-reference/custom-proxies/list-proxy-configs"},{"title":"Delete a proxy config","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-proxy/custom-proxies.yaml delete /proxies/{proxyId}","href":"/api-reference/custom-proxies/delete-a-proxy-config"}]}]},{"group":"Apps","pages":[{"title":"Get app by ID","deprecated":null,"version":null,"openapi":"/api-reference/apps-ref.yaml get /apps/{id}","href":"/api-reference/apps-cloud-storage/get-app-by-id"},{"title":"List apps","deprecated":null,"version":null,"openapi":"/api-reference/apps-ref.yaml get /apps","href":"/api-reference/apps-cloud-storage/list-apps"},{"title":"Delete uploaded app","deprecated":null,"version":null,"openapi":"/api-reference/apps-ref.yaml delete /apps/{id}","href":"/api-reference/apps-cloud-storage/delete-uploaded-app"},{"title":"Confirm successful app upload","deprecated":null,"version":null,"openapi":"/api-reference/apps-ref.yaml post /apps/{id}/confirm-upload","href":"/api-reference/apps-cloud-storage/confirm-successful-app-upload"},{"title":"Create a signed upload URL for an app","deprecated":null,"version":null,"openapi":"/api-reference/apps-ref.yaml post /apps/create-signed-upload-url","href":"/api-reference/apps-cloud-storage/create-a-signed-upload-url-for-an-app"},{"title":"List versions for an app","deprecated":null,"version":null,"openapi":"/api-reference/apps-ref.yaml get /apps/{id}/versions","href":"/api-reference/apps-cloud-storage/list-versions-for-an-app"},{"title":"Mark app upload as failed","deprecated":null,"version":null,"openapi":"/api-reference/apps-ref.yaml post /apps/{id}/mark-failed","href":"/api-reference/apps-cloud-storage/mark-app-upload-as-failed"},{"title":"Get the user’s storage usage","deprecated":null,"version":null,"openapi":"/api-reference/apps-ref.yaml get /apps/storage-usage","href":"/api-reference/apps-cloud-storage/get-the-user’s-storage-usage"}]},{"group":"Credentials","pages":[{"title":"List credentials","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref.yaml get /credentials","href":"/api-reference/app-credentials/list-credentials"},{"title":"Initialize a new package/app","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref/credential-packages.yaml post /credentials/packages","href":"/api-reference/credential-packages/initialize-a-new-packageapp"},{"title":"List credentials for a specific package","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref/credential-packages.yaml get /credentials/packages/{packageName}","href":"/api-reference/credential-packages/list-credentials-for-a-specific-package"},{"title":"List packages","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref/credential-packages.yaml get /credentials/packages","href":"/api-reference/credential-packages/list-packages"},{"title":"Create a credential","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref/credential-packages.yaml post /credentials/packages/{packageName}","href":"/api-reference/credential-packages/create-a-credential"},{"title":"Delete a credential and all its fields","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref/credential-packages.yaml delete /credentials/packages/{packageName}/credentials/{credentialName}","href":"/api-reference/credential-packages/delete-a-credential-and-all-its-fields"},{"title":"Add a credential field","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref/credential-packages.yaml post /credentials/packages/{packageName}/credentials/{credentialName}/fields","href":"/api-reference/credential-packages/add-a-credential-field"},{"title":"Update the value of a credential field","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref/credential-packages.yaml patch /credentials/packages/{packageName}/credentials/{credentialName}/fields/{fieldType}","href":"/api-reference/credential-packages/update-the-value-of-a-credential-field"},{"title":"Delete a field from a credential","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref/credential-packages.yaml delete /credentials/packages/{packageName}/credentials/{credentialName}/fields/{fieldType}","href":"/api-reference/credential-packages/delete-a-field-from-a-credential"},{"title":"Link a 1Password item to a credential","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref/credential-packages.yaml post /credentials/packages/{packageName}/links","href":"/api-reference/credential-packages/link-a-1password-item-to-a-credential"},{"group":"1Password","pages":[{"title":"Get 1Password connection","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref/1password.yaml get /credentials/onepassword","href":"/api-reference/1password/get-1password-connection"},{"title":"Connect a 1Password service account","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref/1password.yaml put /credentials/onepassword","href":"/api-reference/1password/connect-a-1password-service-account"},{"title":"Disconnect 1Password","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref/1password.yaml delete /credentials/onepassword","href":"/api-reference/1password/disconnect-1password"},{"title":"List 1Password item metadata","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref/1password.yaml get /credentials/onepassword/vaults/{vaultId}/items","href":"/api-reference/1password/list-1password-item-metadata"},{"title":"List 1Password field metadata","deprecated":null,"version":null,"openapi":"/api-reference/credentials-ref/1password.yaml get /credentials/onepassword/vaults/{vaultId}/items/{itemId}/fields","href":"/api-reference/1password/list-1password-field-metadata"}]}]},{"group":"Numbers","pages":[{"title":"Purchase a phone number","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-numbers/numbers.yaml post /numbers/phones","href":"/api-reference/numbers/purchase-a-phone-number"},{"title":"List phone numbers","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-numbers/numbers.yaml get /numbers/phones","href":"/api-reference/numbers/list-phone-numbers"},{"title":"List dedicated-number countries","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-numbers/numbers.yaml get /numbers/phones/countries","href":"/api-reference/numbers/list-dedicated-number-countries"},{"title":"Get included phone-number capacity for a country","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-numbers/numbers.yaml get /numbers/phones/capacity","href":"/api-reference/numbers/get-included-phone-number-capacity-for-a-country"},{"title":"Get phone number by id","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-numbers/numbers.yaml get /numbers/phones/{id}","href":"/api-reference/numbers/get-phone-number-by-id"},{"title":"Update a phone number's display label","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-numbers/numbers.yaml patch /numbers/phones/{id}","href":"/api-reference/numbers/update-a-phone-numbers-display-label"},{"title":"Cancel a phone-number purchase or an active rental","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-numbers/numbers.yaml delete /numbers/phones/{id}","href":"/api-reference/numbers/cancel-a-phone-number-purchase-or-an-active-rental"},{"group":"Number Messages","pages":[{"title":"Send an SMS from a number","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-numbers/numbers/messages.yaml post /numbers/phones/{id}/messages","href":"/api-reference/messages/send-an-sms-from-a-number"},{"title":"List messages (inbox + outbox) on a number","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-numbers/numbers/messages.yaml get /numbers/phones/{id}/messages","href":"/api-reference/messages/list-messages-inbox-+-outbox-on-a-number"}]},{"group":"Messages","pages":[{"title":"Get one of the caller's SMS messages","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-numbers/messages.yaml get /numbers/messages/{id}","href":"/api-reference/messages/get-one-of-the-callers-sms-messages"},{"title":"List the caller's own SMS inbox/outbox messages","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-numbers/messages.yaml get /numbers/messages","href":"/api-reference/messages/list-the-callers-own-sms-inboxoutbox-messages"},{"group":"Conversations","pages":[{"title":"List the caller's own SMS conversations, one row per thread","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-numbers/messages/conversations.yaml get /numbers/messages/conversations","href":"/api-reference/conversations/list-the-callers-own-sms-conversations-one-row-per-thread"},{"title":"Mark a conversation's inbound messages read up to a cursor","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-numbers/messages/conversations.yaml post /numbers/messages/conversations/read","href":"/api-reference/conversations/mark-a-conversations-inbound-messages-read-up-to-a-cursor"}]}]}]},{"group":"Mailbox","pages":[{"title":"Claim or rent a mailbox","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-mailbox.yaml post /mailboxes","href":"/api-reference/mailboxes/claim-or-rent-a-mailbox"},{"title":"List mailboxes","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-mailbox.yaml get /mailboxes","href":"/api-reference/mailboxes/list-mailboxes"},{"title":"Get a mailbox","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-mailbox.yaml get /mailboxes/{mailboxId}","href":"/api-reference/mailboxes/get-a-mailbox"},{"title":"Update a mailbox label","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-mailbox.yaml patch /mailboxes/{mailboxId}","href":"/api-reference/mailboxes/update-a-mailbox-label"},{"title":"Cancel or archive a mailbox","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-mailbox.yaml delete /mailboxes/{mailboxId}","href":"/api-reference/mailboxes/cancel-or-archive-a-mailbox"},{"title":"Undo a scheduled cancellation","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-mailbox.yaml post /mailboxes/{mailboxId}/uncancel","href":"/api-reference/mailboxes/undo-a-scheduled-cancellation"},{"title":"Restart rent on an archived mailbox","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-mailbox.yaml post /mailboxes/{mailboxId}/restart","href":"/api-reference/mailboxes/restart-rent-on-an-archived-mailbox"},{"title":"Get included mailbox capacity","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-mailbox.yaml get /mailboxes/capacity","href":"/api-reference/mailboxes/get-included-mailbox-capacity"},{"title":"Get the best OTP candidate","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-mailbox.yaml get /mailboxes/{mailboxId}/otp","href":"/api-reference/mailboxes/get-the-best-otp-candidate"},{"title":"Unlink a Gmail inbox","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-mailbox.yaml post /mailboxes/{mailboxId}/disconnect","href":"/api-reference/mailboxes/unlink-a-gmail-inbox"},{"group":"Connections","pages":[{"title":"Connect a Gmail inbox","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-mailbox/connections.yaml post /mailboxes/connections","href":"/api-reference/connections/connect-a-gmail-inbox"},{"title":"Poll a Gmail inbox connection","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-mailbox/connections.yaml get /mailboxes/connections/{connectionId}","href":"/api-reference/connections/poll-a-gmail-inbox-connection"}]},{"group":"Mailbox Messages","pages":[{"title":"List mailbox messages","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-mailbox/mailbox-messages.yaml get /mailboxes/{mailboxId}/messages","href":"/api-reference/mailbox-messages/list-mailbox-messages"},{"title":"Get a mailbox message","deprecated":null,"version":null,"openapi":"/api-reference/mobilerun-mailbox/mailbox-messages.yaml get /mailboxes/{mailboxId}/messages/{messageId}","href":"/api-reference/mailbox-messages/get-a-mailbox-message"}]}]},{"group":"Tasks","pages":[{"title":"Get Task","deprecated":null,"version":null,"openapi":"/api-reference/tasks.yaml get /tasks/{task_id}","href":"/api-reference/tasks/get-task"},{"title":"List Tasks","deprecated":null,"version":null,"openapi":"/api-reference/tasks.yaml get /tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Attach Task","deprecated":null,"version":null,"openapi":"/api-reference/tasks.yaml get /tasks/{task_id}/attach","href":"/api-reference/tasks/attach-task"},{"title":"Get Task Status","deprecated":null,"version":null,"openapi":"/api-reference/tasks.yaml get /tasks/{task_id}/status","href":"/api-reference/tasks/get-task-status"},{"title":"Get Task Trajectory","deprecated":null,"version":null,"openapi":"/api-reference/tasks.yaml get /tasks/{task_id}/trajectory","href":"/api-reference/tasks/get-task-trajectory"},{"title":"Run Task","deprecated":null,"version":null,"openapi":"/api-reference/tasks.yaml post /tasks","href":"/api-reference/tasks/run-task"},{"title":"Run Streamed Task","deprecated":null,"version":null,"openapi":"/api-reference/tasks.yaml post /tasks/stream","href":"/api-reference/tasks/run-streamed-task"},{"title":"Send Message","deprecated":null,"version":null,"openapi":"/api-reference/tasks.yaml post /tasks/{task_id}/message","href":"/api-reference/tasks/send-message"},{"title":"Stop Task","deprecated":null,"version":null,"openapi":"/api-reference/tasks.yaml post /tasks/{task_id}/cancel","href":"/api-reference/tasks/stop-task"},{"group":"Screenshots","pages":[{"title":"Get Task Screenshot","deprecated":null,"version":null,"openapi":"/api-reference/tasks/screenshots.yaml get /tasks/{task_id}/screenshots/{index}","href":"/api-reference/screenshots/get-task-screenshot"},{"title":"Get Task Screenshots","deprecated":null,"version":null,"openapi":"/api-reference/tasks/screenshots.yaml get /tasks/{task_id}/screenshots","href":"/api-reference/screenshots/get-task-screenshots"}]},{"group":"UI States","pages":[{"title":"Get Task Ui State","deprecated":null,"version":null,"openapi":"/api-reference/tasks/ui-states.yaml get /tasks/{task_id}/ui_states/{index}","href":"/api-reference/ui-states/get-task-ui-state"},{"title":"Get Task Ui States","deprecated":null,"version":null,"openapi":"/api-reference/tasks/ui-states.yaml get /tasks/{task_id}/ui_states","href":"/api-reference/ui-states/get-task-ui-states"}]}]},{"group":"Workflows","pages":[{"group":"Triggers","pages":[{"title":"Create a trigger","deprecated":null,"version":null,"openapi":"/api-reference/workflows/triggers.yaml post /triggers","href":"/api-reference/triggers/create-a-trigger"},{"title":"Get a trigger","deprecated":null,"version":null,"openapi":"/api-reference/workflows/triggers.yaml get /triggers/{triggerId}","href":"/api-reference/triggers/get-a-trigger"},{"title":"Update a trigger","deprecated":null,"version":null,"openapi":"/api-reference/workflows/triggers.yaml patch /triggers/{triggerId}","href":"/api-reference/triggers/update-a-trigger"},{"title":"List triggers","deprecated":null,"version":null,"openapi":"/api-reference/workflows/triggers.yaml get /triggers","href":"/api-reference/triggers/list-triggers"},{"title":"Delete a trigger","deprecated":null,"version":null,"openapi":"/api-reference/workflows/triggers.yaml delete /triggers/{triggerId}","href":"/api-reference/triggers/delete-a-trigger"},{"title":"Fire a custom trigger with payload","deprecated":null,"version":null,"openapi":"/api-reference/workflows/triggers.yaml post /triggers/{triggerId}/fire","href":"/api-reference/triggers/fire-a-custom-trigger-with-payload"}]},{"group":"Action Catalog","pages":[{"title":"Get a catalog entry","deprecated":null,"version":null,"openapi":"/api-reference/workflows/action-catalog.yaml get /action-catalog/{catalogEntryId}","href":"/api-reference/action-catalog/get-a-catalog-entry"},{"title":"List action catalog entries","deprecated":null,"version":null,"openapi":"/api-reference/workflows/action-catalog.yaml get /action-catalog","href":"/api-reference/action-catalog/list-action-catalog-entries"}]},{"group":"Actions","pages":[{"title":"Create an action","deprecated":null,"version":null,"openapi":"/api-reference/workflows/actions.yaml post /actions","href":"/api-reference/actions/create-an-action"},{"title":"Get an action","deprecated":null,"version":null,"openapi":"/api-reference/workflows/actions.yaml get /actions/{actionId}","href":"/api-reference/actions/get-an-action"},{"title":"Update an action","deprecated":null,"version":null,"openapi":"/api-reference/workflows/actions.yaml patch /actions/{actionId}","href":"/api-reference/actions/update-an-action"},{"title":"List actions","deprecated":null,"version":null,"openapi":"/api-reference/workflows/actions.yaml get /actions","href":"/api-reference/actions/list-actions"},{"title":"Delete an action","deprecated":null,"version":null,"openapi":"/api-reference/workflows/actions.yaml delete /actions/{actionId}","href":"/api-reference/actions/delete-an-action"},{"title":"List available services","deprecated":null,"version":null,"openapi":"/api-reference/workflows/actions.yaml get /actions/services","href":"/api-reference/actions/list-available-services"},{"title":"List allowed methods for a service","deprecated":null,"version":null,"openapi":"/api-reference/workflows/actions.yaml get /actions/services/{service}/methods","href":"/api-reference/actions/list-allowed-methods-for-a-service"}]},{"group":"Flows","pages":[{"title":"Create a flow","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml post /flows","href":"/api-reference/flows/create-a-flow"},{"title":"Get a flow","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml get /flows/{flowId}","href":"/api-reference/flows/get-a-flow"},{"title":"Update a flow","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml patch /flows/{flowId}","href":"/api-reference/flows/update-a-flow"},{"title":"List flows","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml get /flows","href":"/api-reference/flows/list-flows"},{"title":"Archive a flow","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml delete /flows/{flowId}","href":"/api-reference/flows/archive-a-flow"},{"title":"Clone a flow","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml post /flows/{flowId}/clone","href":"/api-reference/flows/clone-a-flow"},{"title":"Get routine capacity","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml get /flows/capacity","href":"/api-reference/flows/get-routine-capacity"},{"title":"Unblock a flow","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml post /flows/{flowId}/unblock","href":"/api-reference/flows/unblock-a-flow"},{"title":"Dry-run a flow","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml post /flows/{flowId}/dry-run","href":"/api-reference/flows/dry-run-a-flow"},{"title":"List self-healing repair episodes","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml get /flows/{flowId}/repairs","href":"/api-reference/flows/list-self-healing-repair-episodes"},{"title":"Get flow template context","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml get /flows/template-context","href":"/api-reference/flows/get-flow-template-context"},{"title":"Get flow delivery options","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml get /flows/{flowId}/delivery-options","href":"/api-reference/flows/get-flow-delivery-options"},{"title":"Validate a flow","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml post /flows/validate","href":"/api-reference/flows/validate-a-flow"},{"title":"Activate a verified flow","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml post /flows/{flowId}/activate","href":"/api-reference/flows/activate-a-verified-flow"},{"title":"Run a flow now","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml post /flows/{flowId}/run","href":"/api-reference/flows/run-a-flow-now"},{"title":"Verify a flow","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml post /flows/{flowId}/verify","href":"/api-reference/flows/verify-a-flow"},{"title":"List actions for a flow","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml get /flows/{flowId}/actions","href":"/api-reference/flows/list-actions-for-a-flow"},{"title":"Add an action to a flow","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml post /flows/{flowId}/actions","href":"/api-reference/flows/add-an-action-to-a-flow"},{"title":"Remove an action from a flow","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml delete /flows/{flowId}/actions/{flowActionId}","href":"/api-reference/flows/remove-an-action-from-a-flow"},{"title":"Replace all actions for a flow","deprecated":null,"version":null,"openapi":"/api-reference/workflows/flows.yaml put /flows/{flowId}/actions","href":"/api-reference/flows/replace-all-actions-for-a-flow"}]},{"group":"Events","pages":[{"title":"Simulate event matching (dry run)","deprecated":null,"version":null,"openapi":"/api-reference/workflows/events.yaml post /events/dry-run","href":"/api-reference/events/simulate-event-matching-dry-run"},{"title":"Ingest an event","deprecated":null,"version":null,"openapi":"/api-reference/workflows/events.yaml post /events/ingest","href":"/api-reference/events/ingest-an-event"}]},{"group":"Executions","pages":[{"title":"Get execution details","deprecated":null,"version":null,"openapi":"/api-reference/workflows/executions.yaml get /executions/{executionId}","href":"/api-reference/executions/get-execution-details"},{"title":"List flow executions","deprecated":null,"version":null,"openapi":"/api-reference/workflows/executions.yaml get /executions","href":"/api-reference/executions/list-flow-executions"},{"title":"Get execution metrics","deprecated":null,"version":null,"openapi":"/api-reference/workflows/executions.yaml get /executions/metrics","href":"/api-reference/executions/get-execution-metrics"},{"title":"Abort a running or pending execution","deprecated":null,"version":null,"openapi":"/api-reference/workflows/executions.yaml post /executions/{executionId}/abort","href":"/api-reference/executions/abort-a-running-or-pending-execution"},{"title":"Redirect to a freshly signed screenshot URL","deprecated":null,"version":null,"openapi":"/api-reference/workflows/executions.yaml get /executions/{executionId}/screenshots/{screenshotId}","href":"/api-reference/executions/redirect-to-a-freshly-signed-screenshot-url"}]},{"group":"Timezones","pages":[{"title":"List supported IANA timezones","deprecated":null,"version":null,"openapi":"/api-reference/workflows/timezones.yaml get /timezones","href":"/api-reference/timezones/list-supported-iana-timezones"}]}]},{"group":"Webhooks \u0026 Integrations","pages":[{"group":"Webhooks","pages":[{"title":"Register a webhook subscription","deprecated":null,"version":null,"openapi":"/api-reference/webhooks.yaml post /webhooks","href":"/api-reference/webhooks/register-a-webhook-subscription"},{"title":"Get a webhook subscription","deprecated":null,"version":null,"openapi":"/api-reference/webhooks.yaml get /webhooks/{id}","href":"/api-reference/webhooks/get-a-webhook-subscription"},{"title":"Update a webhook subscription","deprecated":null,"version":null,"openapi":"/api-reference/webhooks.yaml patch /webhooks/{id}","href":"/api-reference/webhooks/update-a-webhook-subscription"},{"title":"List your webhook subscriptions","deprecated":null,"version":null,"openapi":"/api-reference/webhooks.yaml get /webhooks","href":"/api-reference/webhooks/list-your-webhook-subscriptions"},{"title":"Delete a webhook subscription","deprecated":null,"version":null,"openapi":"/api-reference/webhooks.yaml delete /webhooks/{id}","href":"/api-reference/webhooks/delete-a-webhook-subscription"},{"title":"Rotate signing secret","deprecated":null,"version":null,"openapi":"/api-reference/webhooks.yaml post /webhooks/{id}/rotate-secret","href":"/api-reference/webhooks/rotate-signing-secret"},{"title":"Send a one-shot test delivery","deprecated":null,"version":null,"openapi":"/api-reference/webhooks.yaml post /webhooks/{id}/test","href":"/api-reference/webhooks/send-a-one-shot-test-delivery"}]},{"group":"Integrations","pages":[{"title":"List message integrations","deprecated":null,"version":null,"openapi":"/api-reference/webhooks/integrations.yaml get /webhooks/integrations","href":"/api-reference/integrations/list-message-integrations"},{"title":"List integration targets","deprecated":null,"version":null,"openapi":"/api-reference/webhooks/integrations.yaml get /webhooks/integrations/{capabilityId}/targets","href":"/api-reference/integrations/list-integration-targets"}]},{"group":"Webhook Deliveries","pages":[{"title":"List deliveries across all your webhooks","deprecated":null,"version":null,"openapi":"/api-reference/webhooks/webhook-deliveries.yaml get /webhooks/deliveries","href":"/api-reference/webhook-deliveries/list-deliveries-across-all-your-webhooks"},{"title":"List deliveries for a webhook","deprecated":null,"version":null,"openapi":"/api-reference/webhooks/webhook-deliveries.yaml get /webhooks/{id}/deliveries","href":"/api-reference/webhook-deliveries/list-deliveries-for-a-webhook"},{"title":"Get a delivery with its attempts","deprecated":null,"version":null,"openapi":"/api-reference/webhooks/webhook-deliveries.yaml get /webhooks/{id}/deliveries/{deliveryId}","href":"/api-reference/webhook-deliveries/get-a-delivery-with-its-attempts"},{"title":"Get delivery statistics","deprecated":null,"version":null,"openapi":"/api-reference/webhooks/webhook-deliveries.yaml get /webhooks/deliveries/stats","href":"/api-reference/webhook-deliveries/get-delivery-statistics"}]}]}]}]},{"dropdown":"Framework","icon":"code","color":{"light":"#D97757","dark":"#D97757"},"tabs":[{"tab":"Guides","icon":"book","groups":[{"group":"Get started","icon":"rocket","pages":[{"sidebarTitle":"Framework overview","title":"Overview","href":"/framework/overview"},{"title":"Quickstart","href":"/framework/quickstart"},{"sidebarTitle":"Setup guides","title":"Overview","href":"/framework/guides/overview"},{"title":"Device Setup","href":"/framework/guides/device-setup"},{"title":"Quickstart with Docker","description":"Get up and running with Mobilerun in Docker quickly and effectively","href":"/framework/guides/docker"}]},{"group":"Build an agent","icon":"bot","pages":[{"title":"CLI Usage","href":"/framework/guides/cli"},{"title":"Configuration","description":"Complete MobileAgent configuration guide - all parameters, minimal examples","href":"/framework/sdk/configuration"},{"title":"Vision Mode","href":"/framework/features/vision"},{"title":"Structured Output","href":"/framework/features/structured-output"},{"title":"Credential Management","href":"/framework/features/credentials"}]},{"group":"Customize behavior","icon":"wrench","pages":[{"title":"App Instruction Cards","href":"/framework/features/app-cards"},{"title":"Custom Tools","href":"/framework/features/custom-tools"},{"title":"Custom Variables","href":"/framework/features/custom-variables"},{"title":"Prompt Templates","href":"/framework/concepts/prompts"}]},{"group":"Observe \u0026 debug","icon":"activity","pages":[{"title":"Tracing","href":"/framework/features/tracing"},{"title":"Event Streaming","href":"/framework/concepts/events-and-workflows"},{"title":"Telemetry","href":"/framework/features/telemetry"}]},{"group":"Architecture","icon":"layers","pages":[{"title":"Architecture","href":"/framework/concepts/architecture"},{"title":"Shared State","href":"/framework/concepts/shared-state"}]},{"group":"Python reference","icon":"book-open","pages":[{"sidebarTitle":"Reference overview","title":"Reference","href":"/framework/sdk/reference"},{"title":"MobileAgent","href":"/framework/sdk/droid-agent"},{"title":"AndroidDriver","href":"/framework/sdk/adb-tools"},{"title":"iOS Driver","href":"/framework/sdk/ios-tools"},{"title":"DeviceDriver Base Class","href":"/framework/sdk/base-tools"}]}]}]},{"dropdown":"Mobilerun Agents","icon":"https://mintlify.s3.us-west-1.amazonaws.com/mobilerun/logo/assistant-light.svg","color":{"light":"#4566D9","dark":"#73A0FF"},"groups":[{"group":"Get started","icon":"rocket","pages":[{"sidebarTitle":"What is Mobilerun Agents?","title":"Overview","href":"/agents/overview"},{"title":"Getting started","href":"/agents/getting-started"},{"sidebarTitle":"Phones, apps \u0026 accounts","title":"Devices","href":"/agents/devices"}]},{"group":"Routines \u0026 results","icon":"workflow","pages":[{"title":"Routines","href":"/agents/workflows"},{"title":"Results","href":"/agents/results"},{"title":"Tasks and recordings","href":"/agents/tasks-and-recordings"}]},{"group":"Connections \u0026 notifications","icon":"bell","pages":[{"title":"Integrations","href":"/agents/integrations"},{"sidebarTitle":"Notifications","title":"Get notified by your agent","href":"/agents/notifications"}]},{"group":"Control \u0026 personalization","icon":"sliders-horizontal","pages":[{"title":"Human in the loop","href":"/agents/human-in-the-loop"},{"title":"Memory and skills","href":"/agents/memory-and-skills"},{"title":"Limits and costs","href":"/agents/limits-and-costs"}]}]}]},"basePath":"","title":"CLI Usage - Mobilerun","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":[],"chunks":[]}