browser_set_geolocation
Emulate a specific geographic location in the browser context to test how your app behaves with different coordinates.
Instructions
Emulates a specific geographic location for the browser context.
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 | Optional accuracy value. | |
| latitude | Yes | Latitude coordinate between -90 and 90. | |
| longitude | Yes | Longitude coordinate between -180 and 180. |