ListInstalledAppsTool

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.

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard
open override val annotations: ToolAnnotations
Link copied to clipboard
open override val description: String
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val parameters: List<ToolParameter>

Functions

Link copied to clipboard
open suspend override fun execute(params: Map<String, Any>): ToolResult