reset_permissions
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Put permissions back to asking, so the app prompts again on next use. These call app_reset_permissions.
reset_permissions
def reset_permissions(app: str | None=None) -> None
Put permissions back to their defaults, so the app prompts again.
Naming an app resets only that app's, on both platforms; on Android that stops the app if it had a permission granted. Omit app to reset every app on the device.
Examples
Put one app's permissions back to their defaults
device.reset_permissions("com.example.shop")