set_geolocation
Override browser geolocation with fixed coordinates for location-based pages without a permission prompt; reset restores the native position.
Instructions
Override navigator.geolocation with fixed coordinates (page-level patch). reset restores native. For location-based pages (store locators, delivery zones): it answers without a permission prompt, and a reload or navigation drops it, so call it after navigate.
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": "set_geolocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reset | No | Restore the real position and stop overriding | |
| tab_id | No | Target tab; omitted = last tab navigated in this session, else the active one | |
| accuracy | No | Meters | |
| latitude | No | Decimal degrees, -90 to 90 | |
| longitude | No | Decimal degrees, -180 to 180 |