Skip to main content
Glama

DroidMind

press_key

Simulate key presses on Android devices using specified keycodes like HOME, BACK, VOLUME, and POWER. Requires device serial number and keycode for precise control via DroidMind MCP server.

Instructions

Press a key on the device.

Common keycodes:

  • 3: HOME
  • 4: BACK
  • 24: VOLUME UP
  • 25: VOLUME DOWN
  • 26: POWER
  • 82: MENU

Args: serial: Device serial number keycode: Android keycode to press

Returns: The result of the key press operation

Input Schema

NameRequiredDescriptionDefault
keycodeYes
serialYes

Input Schema (JSON Schema)

{ "properties": { "keycode": { "title": "Keycode", "type": "integer" }, "serial": { "title": "Serial", "type": "string" } }, "required": [ "serial", "keycode" ], "title": "press_keyArguments", "type": "object" }

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/hyperb1iss/droidmind'

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