Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| observe | Get the view hierarchy of what is displayed on screen |
| listApps | List all apps installed on the device |
| clearText | Clear text from the currently focused input field |
| selectAllText | Select all text in the currently focused input field using long press + tap on 'Select All' |
| pressButton | Press a hardware button on the device |
| swipeOnElement | Swipe on a specific element |
| swipeOnScreen | Swipe on screen in a specific direction |
| openSystemTray | Open the system notification tray by swiping down from the status bar |
| pressKey | Press a hardware key on the device (Maestro equivalent of pressButton) |
| inputText | Input text to the device |
| openLink | Open a URL in the default browser |
| tapOn | Tap supporting text or resourceId |
| scroll | Scroll in a direction on a scrollable container, optionally to find an element (supports text and selectors) |
| swipe | Unified scroll command supporting direction and speed (no index support due to reliability) |
| shake | Shake the device |
| imeAction | Perform an IME action (e.g., done, next, search) |
| recentApps | Open the recent apps list |
| homeScreen | Return to the home screen by pressing the home button |
| rotate | Rotate the device to a specific orientation |
| launchApp | Launch an app by package name |
| terminateApp | Terminate an app by package name |
| installApp | Install an APK file on the device |
| enableDemoMode | Enable demo mode with consistent status bar indicators for screenshots |
| disableDemoMode | Disable demo mode and return to normal status bar behavior |
| setActiveDevice | Set the active device ID for subsequent operations |
| listDevices | List all connected devices (both physical and virtual devices) |
| listDeviceImages | List all available device images for the specified platform |
| startDevice | Start a device with the specified device image |
| killDevice | Kill a running device |
| setDeviceMode | Set parameters for a particular device in a given mode. |
| setAppSource | For a given appId, set the source code path and platform. |
| getAllConfigs | Retrieve current configuration. |
| resetConfig | Reset to default settings. This will clear all saved configuration. |
| getDeepLinks | Query available deep links and intent filters for an Android application |
| detectIntentChooser | Detect system intent chooser dialog in the current view hierarchy |
| handleIntentChooser | Automatically handle system intent chooser dialog with specified preferences |