safari_override_geolocation
Override Safari's geolocation API to return custom latitude and longitude so you can test location-dependent pages with specified coordinates and accuracy.
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) |