set_appearance
Switch an iOS simulator between dark and light mode to verify how app UI renders in each appearance setting on a specified device.
Instructions
Set device appearance (dark mode or light 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": {
"device_id": "<device_id>",
"appearance": "<appearance>"
},
"name": "set_appearance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Simulator UDID | |
| appearance | Yes | Appearance mode to set |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |