Set permission
set_permissionGrant or revoke runtime permissions for an app on a device, covering camera, microphone, location, contacts, and more. Control access to test app behavior under different permission states.
Instructions
Grant or revoke a runtime permission for an app. Aliases: camera, microphone, location, contacts, photos, notifications, calendar, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grant | No | ||
| app_id | Yes | ||
| device_id | Yes | Device id from list_devices (adb serial like 'emulator-5554', or an iOS simulator UDID) | |
| permission | Yes |