Skip to content

launchApp

Tool launchApp

Description

Use this to open an app on the device as if a user tapped on the app icon in the launcher.

Command Class

xyz.block.trailblaze.toolcalls.commands.LaunchAppTrailblazeTool

Registered LaunchAppTrailblazeTool in ToolRegistry

Required Parameters

  • appId: String The package name of the app to launch. Example: ‘com.example.app’

Optional Parameters

  • launchMode: [ "REINSTALL", "RESUME", "FORCE_RESTART" ]

NOTE: THIS IS GENERATED DOCUMENTATION