phone_set_location
Simulate GPS coordinates on an iPhone to test location-aware apps; set latitude and longitude, or clear the simulation to restore the real location.
Instructions
Simulate GPS for testing location-aware apps. Supply both lat (-90–90) and lon (-180–180), in finite decimal degrees, or clear=true without coordinates to restore real location; combining clear with coordinates is refused. Every app sees the simulated position until cleared; it is not a navigation or address lookup tool. Counts as one daemon action and requires authorized device control. Returns the applied location/clear status; on a transport failure the effect is unknown. Inspect the result before proceeding and clear the simulation when the test ends.
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": "phone_set_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude in decimal degrees (WGS84), -90..90. | |
| lon | No | Longitude in decimal degrees (WGS84), -180..180. | |
| clear | No | `true` (without lat/lon) returns the phone to its real location. | |
| instance | No | daemon instance name |