manage_app
Inspect, stop, restart, and clear Android app data, or attempt to grant declared runtime permissions for a target package.
Instructions
应用生命周期与权限管理工具(信息、停止、重启、清空数据、逐项尝试授予运行时权限)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | 操作类型: - 'info': 查看版本名、versionCode、APK路径、UID、进程PID、签名与组件信息 - 'stop': 强行停止应用 (am force-stop) - 'restart': 强杀并重新冷启动应用 - 'clear_data': 清空应用数据与缓存 (pm clear) - 'grant_all_permissions': 尝试授予已声明的危险运行时权限,逐项返回结果;特殊权限需 app_permissions 明确设置 | info |
| package | Yes | 目标应用包名 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |