Package-level declarations
Types
Provider for the app-inventory tools (ListInstalledAppsTool, GetAppInfoTool, LaunchAppTool). Declares no manifest permissions; results may be subject to API 30+ package-visibility rules.
Returns details for one installed app identified by package_name. No permissions; the module's manifest declares a <queries> element for MAIN/LAUNCHER intents so API 30+ package-visibility filtering doesn't hide launchable apps — a package with no launcher activity (background-only) is still invisible (reported as "App not found"). Output: app_name, package_name, version_name, version_code, install_date, last_update, and permissions (the app's requested permissions).
Launches an installed app via its main launch intent (FLAG_ACTIVITY_NEW_TASK), identified by package_name. Errors if the app is not found or exposes no launcher activity. No permissions; the module's manifest declares a <queries> element for MAIN/LAUNCHER intents so API 30+ package-visibility filtering doesn't hide launchable targets (a package with no launcher activity — background-only — is still invisible). Output: success (true) and package_name.
Lists installed applications, sorted by display label, optionally including system apps (include_system param, default false). No permissions; the module's manifest declares a <queries> element for MAIN/LAUNCHER intents so API 30+ package-visibility filtering doesn't reduce this to a handful of force-visible packages — apps with no launcher activity (background-only) are still excluded by design. Output: apps (each {app_name, package_name, version, is_system_app}) capped at the limit param, plus count and include_system.