Device conditions
set_deviceRead or set mobile device conditions such as dark mode, orientation, GPS location, clipboard, biometrics, network, battery, or locale, with restore support for test sessions.
Instructions
Read or set a device condition: dark mode, orientation (landscape), GPS location, clipboard, Face ID, fingerprint, memory warning, shake, text size, locale, slow network, airplane mode, Wi-Fi, battery, fold, calls, SMS. No value reads it. App permissions: manage_app; photos: transfer_files. Returns the value; orientation the screen too. Put back at the session end or by restore, but for the clipboard.
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": {
"name": "<name>"
},
"name": "set_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| name | Yes | ||
| read | No | ||
| title | No | ||
| value | No | orientation: portrait, landscape_left, upside_down, landscape_right; location: lat,lon, none; clipboard: its text. Switch: on, off; text_size: Android 1.3, iOS extra-large; locale: tr-TR; network: slow, full; thermal: serious; proxy: host:port, none; battery: 0-100; fold: closed, half, open. One-shot: biometric (match, nomatch, enroll), call (number; end number), sms (value; title: number), keychain (reset), memory_warning (Android: trim level), shake. |