location.set
Override browser geolocation using coordinates or a preset city, or make geolocation unavailable for testing.
Instructions
Override geolocation by coordinates or preset (mumbai, new-york, london, tokyo, sydney, san-francisco), or make it unavailable.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "location.set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | No | ||
| accuracy | No | ||
| latitude | No | ||
| longitude | No | ||
| target_id | No | Target handle (tgt_*). Omit for the active page. | |
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. | |
| unavailable | No |