Skip to main content
Glama

press_key

Simulate pressing hardware or software keys on Android devices for automation and remote control. Specify key codes like HOME (3) or BACK (4) to trigger device actions.

Instructions

Press a key on the device Args: key_code (int): Key code to press (e.g., 3 for HOME, 4 for BACK) Returns: str: Success or error message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
key_codeYes

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/yz0903/autobot-mcp'

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