settings
Read or change supported operating-system options, animation scales, appearance, and app permissions on the selected target; platform support varies by option and action.
Instructions
Read or change supported operating-system settings, animation scales, appearance, or app permissions on the selected target. Platform support varies by setting and action. Times out after 90s.
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": {
"setting": "<setting>"
},
"name": "settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | App the change targets, by bundle id, package name, or app name: the app `clear-app-state` clears, or the app a `permission` change (or an iOS-simulator `location on|off` privacy change) lands on. A name resolves to the installed app as `open` resolves it: an iOS simulator, local or Limrun, matches display names and accepts only an installed bundle id, and Android accepts only an installed package and refuses a name that resolves to an intent with `setting_app_not_package`. One that resolves to nothing is refused with `app_not_installed` before anything changes. The app need not be running. Without it the session app is used; a device-wide change (`location set` on any target, the Android `location on|off` toggle, `mobile-data`, macOS permissions) refuses one with `setting_app_not_consumed`. The CLI reads it only from this invocation, never from `AGENT_DEVICE_TARGET_APP` or config `targetApp`. | |
| mode | No | ||
| udid | No | Apple device or simulator UDID. | |
| debug | No | Enable debug diagnostics. | |
| state | No | ||
| device | No | Device name; ids go in udid or serial. | |
| serial | No | Android, HarmonyOS, or Vega VVD serial. | |
| target | No | Alias for deviceTarget. | |
| session | No | Session name. | |
| setting | Yes | ||
| latitude | No | ||
| noRecord | No | Do not record this action. | |
| platform | No | Device platform. | |
| longitude | No | ||
| permission | No | ||
| includeCost | No | Add agent cost (cost.wallClockMs, …) to the result, returned as JSON text. | |
| deviceTarget | No | Device form factor. | |
| responseLevel | No | Result detail: digest (smallest) or full (largest), as JSON; default is compact text. | |
| mcpOutputFormat | No | Result text: compact optimized (default) or the full result as JSON (larger). |