set_permission
Control app privacy permissions on iOS simulators: grant, revoke, or reset access to photos, camera, location, notifications, and more.
Instructions
Grant/revoke/reset a privacy permission for an app (e.g. photos, camera, location, notifications).
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": {
"action": "<action>",
"service": "<service>",
"bundle_id": "<bundle_id>"
},
"name": "set_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| service | Yes | e.g. all, photos, camera, location, notifications, contacts, microphone | |
| bundle_id | Yes | ||
| udid | No | Target simulator UDID. Defaults to the booted sim. |