set_location
Simulate a device GPS position by setting latitude and longitude to test location-based flows on iOS and Android phones, tablets, and foldables; TV devices are unsupported.
Instructions
Set the device's simulated GPS location, for location-based flows. Phones, tablets and foldables (iOS and Android); not available on TV devices.
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_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | Latitude in decimal degrees, -90 to 90. | |
| longitude | Yes | Longitude in decimal degrees, -180 to 180 (west is negative). | |
| session_id | No | Session ID to target. Optional: falls back to the MCP-server-held dev_start session, then this project's `vibeview dev --detach` state, if either is available. |