set_geolocation
Override browser geolocation and automatically grant permission by specifying latitude, longitude, and optional accuracy for location-dependent tests or workflows.
Instructions
Override browser geolocation. Grant geolocation permission automatically.
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": "set_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) |