emulate
Configure device metrics, user agent, geolocation, and media settings for Electron app debugging; use clear to reset overrides.
Instructions
Device metrics / UA / geolocation / media emulation (or clear=true to reset)
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 |
|---|---|---|---|
| clear | No | ||
| media | No | e.g. "print" or "screen" | |
| metrics | No | ||
| targetId | No | ||
| processId | No | Process ID. If omitted, uses the single running app. | |
| userAgent | No | ||
| geolocation | No |