device_appearance
Switch the iOS simulator between light and dark mode by providing the device UDID and appearance preference.
Instructions
Set the simulator to light or dark mode
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": {
"deviceId": "<deviceId>",
"appearance": "<appearance>"
},
"name": "device_appearance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | Simulator UDID | |
| appearance | Yes | Appearance mode |