emulate
Simulate network throttling, CPU slowdown, geolocation, user agent, color scheme, and viewport to test page behavior under different conditions.
Instructions
Emulates various features on the selected page.
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": "emulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| networkConditions | No | Throttle network. Omit to disable throttling. | |
| cpuThrottlingRate | No | Represents the CPU slowdown factor. Omit or set the rate to 1 to disable throttling | |
| geolocation | No | Geolocation (`<latitude>x<longitude>`) to emulate. Latitude between -90 and 90. Longitude between -180 and 180. Omit to clear the geolocation override. | |
| userAgent | No | User agent to emulate. Set to empty string to clear the user agent override. | |
| colorScheme | No | Emulate the dark or the light mode. Set to "auto" to reset to the default. | |
| viewport | No | Emulate device viewports '<width>x<height>x<devicePixelRatio>[,mobile][,touch][,landscape]'. 'touch' and 'mobile' to emulate mobile devices. 'landscape' to emulate landscape mode. |