browser_set_geolocation
Override device GPS coordinates to test location-based features or simulate different regions. Set latitude, longitude, and accuracy for browser automation.
Instructions
Override device GPS geolocation coordinates (latitude, longitude, accuracy).
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": "browser_set_geolocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accuracy | No | Accuracy in meters | |
| latitude | Yes | Latitude coordinate | |
| longitude | Yes | Longitude coordinate |