select_device
List and choose an Android or iOS device for local Appium testing. Enter the platform to see matching devices, then confirm the UDID to proceed with automated mobile tests.
Instructions
Discover and select a device for LOCAL Appium servers ONLY. DO NOT use this tool for REMOTE Appium servers - remoteServerUrl indicates a remote server. WORKFLOW FOR LOCAL SERVERS: 1. ASK THE USER which platform they want (Android or iOS) - do not assume 2. Call this tool with the chosen platform (and iosDeviceType for iOS) 3. If only one device is found, it is auto-selected - proceed to appium_session_management (action=create) (or prepare_ios_simulator for iOS simulators) 4. If multiple devices are found, ask the user which one they want, then call this tool again with deviceUdid 5. After selection, proceed to appium_session_management (action=create) (or prepare_ios_simulator for iOS simulators, then appium_session_management with action=create) WORKFLOW FOR REMOTE SERVERS: - SKIP this tool entirely - Device selection should be handled via capabilities on appium_session_management (action=create) (e.g., appium:deviceName, appium:udid) - The remote Appium server is already configured for specific device(s)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | The platform to list devices for (must match previously selected platform) | |
| deviceUdid | No | The UDID of the device selected by the user. If not provided, this tool will list available devices for the user to choose from. | |
| iosDeviceType | No | For iOS only: Specify whether to use 'simulator' or 'real' device. REQUIRED when platform is 'ios'. |