metro
Prepare a React Native development server or trigger a reload in connected apps, using the session-bound server. Override the binding per call with runtime inputs.
Instructions
Prepare a React Native development server or ask connected apps to reload, using the development server this session is bound to. Provide explicit runtime inputs only to override that binding for one call. The binding is cleared when the session closes, and a fresh open without runtime hints also clears any leftover binding from a previous same-name session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for command execution. | |
| kind | No | ||
| port | No | ||
| udid | No | iOS device UDID selector. | |
| debug | No | Enable debug diagnostics. | |
| runId | No | Lease run identifier. | |
| action | Yes | ||
| device | No | Device name selector. | |
| serial | No | Android device or Vega VVD serial selector. | |
| target | No | Alias for deviceTarget on commands without a UI target field. Interaction commands reserve target for the UI element. | |
| tenant | No | Remote tenant identifier. | |
| leaseId | No | Existing lease identifier. | |
| logPath | No | ||
| session | No | Agent-device session name. | |
| platform | No | Platform selector used to resolve a device. | |
| stateDir | No | Agent-device state directory. | |
| bundleUrl | No | ||
| launchUrl | No | ||
| metroHost | No | ||
| metroPort | No | ||
| timeoutMs | No | ||
| listenHost | No | ||
| statusHost | No | ||
| bearerToken | No | ||
| bridgeScope | No | ||
| includeCost | No | Include per-command agent-cost (cost.wallClockMs, …) in structuredContent. Defaults to off; the default response shape is unchanged. | |
| projectRoot | No | ||
| deviceTarget | No | Device target form. Maps to the CLI --target flag. | |
| proxyBaseUrl | No | ||
| daemonBaseUrl | No | Remote daemon base URL. | |
| publicBaseUrl | No | ||
| responseLevel | No | Response verbosity: token-cheap digest / default (today) / full. Defaults to default; the default response shape is unchanged. | |
| reuseExisting | No | ||
| probeTimeoutMs | No | ||
| daemonAuthToken | No | Remote daemon auth token. | |
| iosXctestEnvDir | No | Writable directory for iOS XCTest runner env overlays. | |
| mcpOutputFormat | No | MCP text content format. Defaults to optimized agent-friendly text; use json for JSON text. Structured content is always returned separately. | |
| runtimeFilePath | No | ||
| iosXctestrunFile | No | Externally built iOS XCTest runner .xctestrun artifact path. | |
| startupTimeoutMs | No | ||
| iosSimulatorDeviceSet | No | iOS simulator device-set path used for device resolution. | |
| androidDeviceAllowlist | No | Android serial allowlist used for device resolution. | |
| iosXctestDerivedDataPath | No | Derived data path for external iOS XCTest runner execution. | |
| installDependenciesIfNeeded | No |