Set device location, network, battery, camera and Google services
set_deviceSet where the phone is: country and city together, or timezone, locale and GPS one by one, plus the network its IP comes from or a proxy; its battery; the picture its camera app returns; Google services via microG (open source); whether it is a phone or a tablet; and a newer Android version. Kept across park/start. Use it before opening apps that check location or region, battery state, or ask for a photo. network_conditions makes the connection slow, lossy or offline while the phone runs (reset by park): use it to test retries, timeouts, loading states and offline handling. Returns the device settings as JSON.
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": {
"phone_id": "<phone_id>"
},
"name": "set_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Any city, e.g. Tokyo, São Paulo or Berlin: GPS, timezone and locale of that city, on Android and iOS | |
| model | No | phone or tablet (a 1600×2560 screen at 320 dpi: apps use their tablet layouts). Switching restarts the phone once (~25 s); apps and data stay | |
| proxy | No | socks5://user:pass@host:port: all traffic leaves through it and wins over network; null = direct | |
| No | microg: Google services via microG (open source) for apps that need them: push (FCM), Firebase Auth, Maps. No Play Store or Play Integrity. none (default): without. Switching restarts the phone once (~25 s); apps and data stay | ||
| locale | No | BCP-47 tag, e.g. de-DE. Changing it restarts the phone UI (~15 s) | |
| android | No | A newer Android version for this phone (12 → 13 → 14), upgraded in place: one restart, apps and data stay. An older version needs a new phone | |
| battery | No | Battery apps see, e.g. {"level":15,"charging":false}; charging defaults to false. New phones are full and charging | |
| country | No | Two-letter code, e.g. DE: sets GPS, timezone and locale together | |
| network | No | datacenter, residential or mobile: where the IP comes from (per GB, see pricing) | |
| location | No | GPS position, e.g. {"lat":52.52,"lng":13.405} | |
| phone_id | Yes | Phone id, ph_… | |
| timezone | No | IANA name, e.g. Europe/Berlin | |
| camera_image | No | https link to a JPEG/PNG/WebP (e.g. a QR code or ID document): what an app gets when it asks the camera app for a photo; null = test pattern. Apps that open the camera themselves see none | |
| network_conditions | No | Slow, lossy or offline connection until park: offline, 2g (+650 ms, 250 kbit/s), 3g (+300 ms, 750 kbit/s), slow_4g (+150 ms, 1.6 Mbit/s), lossy (10 % loss), or custom values; null = normal network. Our control of the phone stays fast |