emulate_device
Emulate a specific device preset (iPhone, Pixel, iPad, Galaxy) to apply its viewport, DPR, user agent, and touch capabilities for realistic browser testing.
Instructions
Emulate a specific device (iPhone, Pixel, iPad, etc.) with correct viewport, DPR, user agent, and touch
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 preset to emulate |