Skip to content

launchApp

Open an app on the device as if a user tapped on its icon in the launcher.

Source

  • Kind: class-backed
  • Class: xyz.block.trailblaze.toolcalls.commands.LaunchAppTrailblazeTool

Contract

  • Visible to LLM: yes (surface_to_llm: true)
  • Recordable: yes (is_recordable: true)
  • Host-only: no (requires_host: false)

Input schema

Required parameters

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

Optional parameters

  • launchModeToolParameterType.Enum( entries = [REINSTALL, RESUME, FORCE_RESTART] ) Available App Launch Modes:
  • “REINSTALL” (Default if unspecified) will launch the app as if it was just installed and never run on the device before.
  • “RESUME” will launch the app like you would from the apps launcher. If the app was in memory, it’ll pick up where it left off.
  • “FORCE_RESTART” will force stop the application and then launch the app like you would from the app launcher.
  • reasoningString

Output

Returns: string (opaque text content)

Typed result schemas (kind: query | action, MCP structuredContent) are not yet carried by the resolved manifest — this section will gain detail when that lands.