safari_override_geolocation
Override the browser geolocation API with custom latitude and longitude to simulate device location for testing or automation scenarios.
Instructions
Override the browser's geolocation API to return custom coordinates
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": "safari_override_geolocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accuracy | No | Accuracy in meters (default: 100) | |
| latitude | Yes | Latitude (-90 to 90) | |
| longitude | Yes | Longitude (-180 to 180) |