vphone_set_location
Simulates a GPS location fix on a virtual iOS device so apps requesting location services report the specified coordinates, altitude, speed, and course.
Instructions
Set the simulated GPS location of the device.
Simulates a complete GPS location fix with all standard Core Location parameters. The device will report this location to all apps requesting location services.
Args: latitude: Latitude in degrees (-90.0 to 90.0) longitude: Longitude in degrees (-180.0 to 180.0) altitude: Altitude in meters (default: 0.0) horizontal_accuracy: Horizontal accuracy in meters (default: 5.0) vertical_accuracy: Vertical accuracy in meters (default: 5.0) speed: Speed in meters per second (default: 0.0) course: Direction of travel in degrees, 0=north, 90=east (default: 0.0) timestamp: Unix timestamp for the location fix (default: current time)
Returns: SetLocationOutput with success status and confirmed coordinates
Raises: NotConnectedError: If not connected to bridge ConnectionUnavailableError: If bridge is reconnecting
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": "vphone_set_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| speed | No | Speed in meters per second | |
| course | No | Course in degrees (0-359.99) | |
| altitude | No | Altitude in meters | |
| latitude | Yes | Latitude in degrees | |
| longitude | Yes | Longitude in degrees | |
| timestamp | No | Unix timestamp, defaults to current time | |
| vertical_accuracy | No | Vertical accuracy in meters | |
| horizontal_accuracy | No | Horizontal accuracy in meters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| latitude | Yes | ||
| longitude | Yes |