edge_emulate_device
Emulate device viewport size, mobile touch, user agent, and light or dark color scheme to test responsive layouts and mobile behavior in Edge.
Instructions
Emulate device characteristics: viewport size, mobile touch, user agent, or dark/light color scheme.
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": "edge_emulate_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Viewport width in pixels (e.g. 390 for iPhone 14, 1920 for desktop) | |
| height | No | Viewport height in pixels (e.g. 844 for iPhone 14, 1080 for desktop) | |
| isMobile | No | Enable mobile touch and viewport emulation | |
| userAgent | No | Custom User-Agent header string | |
| colorScheme | No | Emulate system color scheme |