ios_open_session
Boot a simulator or verify a connected iPhone, then start WebDriverAgent to open a tuned automation session. Omitting the device picks an already-booted simulator; real-device use is deliberate.
Instructions
Attach to a device and start driving it.
Boots the simulator or verifies the phone, starts WebDriverAgent, and
opens a tuned session. Omitting device prefers an already-booted
simulator over a connected iPhone, so acting on a real device is always
a deliberate choice.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ios_open_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Bundle id to open, e.g. com.apple.Preferences. | |
| fresh | No | Relaunch the app from scratch rather than resuming it. | |
| device | No | UDID, exact name, or part of a name. Omit to pick the best default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||