use_target
Selects the app test target: built-in headless renderer or Android/iOS device via Expo Go, handling consent, Expo Go setup, and dev server launch.
Instructions
Chooses where the app is tested: "headless" (default, built-in renderer) or "device" (Expo Go on an Android emulator / USB phone via adb, or a booted iOS Simulator on macOS). Selecting "device" first asks the user for consent to control a physical phone, to install Expo Go if missing, and to replace an Expo Go whose SDK does not match the project; then starts the Expo dev server and opens the app. If the user declines, nothing is changed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "use_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | adb serial or iOS simulator UDID from device_list (needed if several targets are ready) | |
| target | Yes | ||
| confirmed | No | Consent keys the user approved in chat (only when a previous call asked you to relay a question) | |
| projectPath | No |