Skip to main content

Tool Types

This page documents the interfaces and types used for App tools integration with Mira AI. AI Tool Calls are temporarily unavailable while this feature is under maintenance. This feature will return later in 2026.

ToolSchema

Interface defining the structure of a tool that a App can expose to Mira AI.

ToolParameterSchema

Interface defining the structure of parameters that a tool accepts.

ToolCall

Interface representing a call to a App tool from Mira AI.

GIVE_APP_CONTROL_OF_TOOL_RESPONSE

The string GIVE_APP_CONTROL_OF_TOOL_RESPONSE is a special string that can be returned by your app to indicate that Mira should not respond to the user, and your app will respond directly.

Tool Configuration

Tools are defined in the devloper console. Go to console.mentra.glass/apps and edit your App, then look for the “AI Tools” section. AI Tools Section Each tool definition has:
  • id: Unique identifier for the tool
  • description: Human/AI-readable description of what the tool does
  • activationPhrases: Optional comma-separated list of phrases that might trigger this tool (although Mira may also trigger tools based on the context of the conversation)
  • parameters: Optional list of parameters the tool accepts

Parameter Properties

Each parameter definition has:
  • type: Data type of the parameter - "string", "number", or "boolean"
  • description: Human/AI-readable description of the parameter
  • required: Whether the parameter is required
  • enum: Optional comma-separated list of allowed values for string parameters (if specified, Mira will choose one of these values)