set_appearance
Switch an Android emulator between light and dark mode by specifying the desired appearance, optionally targeting a specific device serial.
Instructions
Switch the device between light and 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": {
"appearance": "<appearance>"
},
"name": "set_appearance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial (e.g. emulator-5554). Optional when exactly one device is connected. | |
| appearance | Yes |