browser_emulate
Change what the page can observe about the environment. Any of: latitude + longitude (+ accuracy m) — geolocation, granted to the page's origin; grant_permissions — list of permission names (geolocation, notifications, camera, microphone, clipboard-read, clipboard-write, ...) granted to the page's origin; clear_permissions; color_scheme light|dark|no-preference; media screen|print; offline true/false. reset undoes geolocation, permissions, colour scheme and media. These apply to the whole browser context (every tab of this identity) until reset. Locale and time zone are the identity's own and are not changed.
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": {
"page_id": "<page_id>"
},
"name": "browser_emulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | No | ||
| reset | No | ||
| offline | No | ||
| page_id | Yes | ||
| accuracy | No | ||
| latitude | No | ||
| longitude | No | ||
| color_scheme | No | ||
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| clear_permissions | No | ||
| grant_permissions | No |