ios_set_device_state
Set device state on iOS Simulator: configure appearance, orientation, simulated GPS location, and freeze status bar for reproducible screenshots.
Instructions
Change device-level state. Appearance, location, and status bar are Simulator only.
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_set_device_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | No | Simulated latitude. | |
| longitude | No | Simulated longitude. | |
| appearance | No | 'light' or 'dark'. | |
| orientation | No | 'portrait' or 'landscape'. | |
| clean_status_bar | No | Freeze the status bar so screenshots are reproducible. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||