browser_emulate
Emulate a tab's viewport, network, CPU, geolocation, color scheme, reduced motion, or user agent to test site behavior without resizing the window; set reset to true to clear all emulation.
Instructions
Emulate one tab's viewport (no window resize), network, CPU, geolocation, color scheme, reduced motion or user agent. reset:true clears all.
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": {
"tabId": "<tabId>"
},
"name": "browser_emulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reset | No | ||
| tabId | Yes | ||
| network | No | ||
| viewport | No | ||
| userAgent | No | ||
| colorScheme | No | ||
| geolocation | No | null clears | |
| cpuThrottling | No | 1 = off, 4 = 4x slower | |
| reducedMotion | No |