pilot_geolocation
Set or clear browser GPS coordinates to simulate a user's location for testing location-aware applications.
Instructions
Set or clear the browser's reported GPS coordinates to simulate a specific geographic location. Use when the user wants to test location-aware apps, see location-specific content, or simulate a user in a different country/city.
Parameters:
latitude: Latitude in decimal degrees (e.g., 19.4326 for Mexico City, 37.7749 for San Francisco)
longitude: Longitude in decimal degrees (e.g., -99.1332 for Mexico City, -122.4194 for San Francisco)
accuracy: Location accuracy in meters (default: 10)
clear: Set to true to remove the fake geolocation and revert to default behavior
Returns: Confirmation of the geolocation set or cleared.
Errors:
"Browser not launched": Navigate to a URL first.
Geolocation errors may occur if the page requires HTTPS for geolocation access.
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": "pilot_geolocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | No | Latitude in decimal degrees | |
| longitude | No | Longitude in decimal degrees | |
| accuracy | No | Accuracy in meters (default: 10) | |
| clear | No | Remove fake geolocation |