adb_list_devices
List all Android devices currently connected via ADB to identify available targets for remote management operations.
Instructions
List all connected ADB devices
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:175-186 (handler)Handler for adb_list_devices tool: executes 'adb devices' command and returns the stdout as text content.case "adb_list_devices": { const { stdout } = await execAsync("adb devices"); return { content: [ { type: "text", text: stdout, }, ], }; }
- src/index.ts:70-78 (registration)Tool registration in ListToolsRequestSchema, including name, description, and empty input schema.{ name: "adb_list_devices", description: "List all connected ADB devices", inputSchema: { type: "object", properties: {}, required: [], }, },