Skip to main content
Glama

tauri_list_devices

List Android emulators/devices and iOS simulators for Tauri mobile development. Use this tool to identify available testing targets when building Tauri mobile applications.

Instructions

[Tauri Mobile Apps Only] List Android emulators/devices and iOS simulators. Use for Tauri mobile development (tauri android dev, tauri ios dev). Not needed for desktop-only Tauri apps or web projects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core implementation of device listing: fetches Android devices using 'adb devices -l' and iOS booted simulators using 'xcrun simctl list devices booted', handling errors gracefully.
    export async function listDevices(): Promise<{ android: string[]; ios: string[] }> { const [ android, ios ] = await Promise.all([ getAndroidDevices(), getIOSSimulators(), ]); return { android, ios }; }
  • Zod schema for tauri_list_devices input parameters (empty object, no params required).
    export const ListDevicesSchema = z.object({});
  • Tool registration in the central TOOLS registry, defining metadata, schema, annotations, and thin wrapper handler that calls listDevices() and formats output as text.
    { name: 'tauri_list_devices', description: '[Tauri Mobile Apps Only] List Android emulators/devices and iOS simulators. ' + 'Use for Tauri mobile development (tauri android dev, tauri ios dev). ' + 'Not needed for desktop-only Tauri apps or web projects.', category: TOOL_CATEGORIES.MOBILE_DEVELOPMENT, schema: ListDevicesSchema, annotations: { title: 'List Mobile Devices', readOnlyHint: true, openWorldHint: false, }, handler: async () => { const devices = await listDevices(); return `Android Devices:\n${devices.android.join('\n') || 'None'}\n\niOS Booted Simulators:\n${devices.ios.join('\n') || 'None'}`; }, },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hypothesi/mcp-server-tauri'

If you have feedback or need assistance with the MCP directory API, please join our Discord server