iOS Simulator: Open URL
ios_simulator_open_urlOpens a URL in the iOS Simulator to exercise deep links or universal links: an https link opens in Safari unless an app claims it; custom schemes launch the registered app.
Instructions
Open a URL on the simulator, which is how you exercise a deep link or a universal link without finding a way to tap one. An https:// link opens in Safari unless the app claims it; a custom scheme goes straight to whichever app registered it.
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": {
"url": "<url>"
},
"name": "ios_simulator_open_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | e.g. "myapp://garden/42" or "https://example.com/garden/42". | |
| device | No | Which simulator: its UDID or its name as shown by ios_simulator_list. Omit it when exactly one is booted — that is the normal case, and IOS_SIMULATOR_ID pins it when it is not. Unlike simctl's own `booted`, this never picks arbitrarily between two. |