change_permission
Grant or revoke a single Android app permission, such as camera access, after preview and owner approval to control exactly which capabilities an app can use.
Instructions
Grant or revoke one app permission (e.g. android.permission.CAMERA).
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>",
"package": "<package>",
"permission": "<permission>"
},
"name": "change_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| device | No | adb serial, only needed when several phones are connected | |
| package | Yes | ||
| permission | Yes | ||
| owner_approved | No | true only after the phone's owner saw the preview and agreed. Omit to get a preview. |