chrome_set_geolocation
Override a Chrome tab's geolocation by setting latitude, longitude, and optional accuracy so location-dependent pages and tests run with controlled coordinates.
Instructions
Override geolocation
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": {
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "chrome_set_geolocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | ||
| accuracy | No | ||
| latitude | Yes | ||
| longitude | Yes |