browser_set_media_theme
Set the page's preferred color scheme (dark, light, or no-preference) to emulate system theme and test responsive designs.
Instructions
Emulate system color scheme on page: 'dark', 'light', or 'no-preference'.
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": {
"theme": "<theme>"
},
"name": "browser_set_media_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | Yes | dark |