geolocation
Override the geolocation of a browser tab to a preset city or custom coordinates, or clear the override to restore the real location.
Instructions
Set or clear geolocation override.
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": "geolocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID | |
| preset | No | Preset city | |
| accuracy | No | Accuracy in meters. Default: 100 | |
| latitude | No | Custom latitude (-90 to 90) | |
| longitude | No | Custom longitude (-180 to 180) |