InstallApkTool

pm install [-r] <path> — silently install an APK from a local file path, with no user prompt. The host is trusted to vet the path; we don't sandbox here (the ShellBackend already provides the privilege boundary). Success is detected by "Success" in stdout.

Privilege: requires a working ShellBackend (Shizuku shell-UID or root).

Params: path (required, absolute apk path), replace (optional, default true → adds -r).

On success the result map carries success (true) and path.

Constructors

Link copied to clipboard
constructor(shell: ShellBackend)

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