emulate_device
Configure browser sessions to emulate device viewports, user agents, touch input, and scale with 50+ presets for responsive cross-device testing.
Instructions
Emulate a device (viewport, user-agent, touch, scale). Supports 50+ presets.
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": "<device>"
},
"name": "emulate_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Device name (e.g. 'iPhone 15', 'Pixel 7', 'iPad Pro 11', 'Desktop Chrome') | |
| pageId | No |