mobium keyboard
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Read, type into, press a key on, or hide the soft keyboard
With no flags, says whether the keyboard is up and which field has focus.
--text types at that field's cursor, confirmed by reading the field back —
for a field nothing names, where type needs a target. --key presses
enter, delete or space, after any text. --hide hides the keyboard,
confirmed; an iPhone keyboard has no hide key, and when the app offers
no way the refusal names the one that usually works.
A password field's value is never printed.
Usage
mobium keyboard [flags]
Flags
| Flag | Type | Default | What it does |
|---|---|---|---|
--hide | bool | Hide the keyboard | |
--key | string | Press a named key: enter, delete or space | |
--text | string | Type this at the cursor of the focused field |
And the global flags.
Examples
Type into the focused field and press Enter
mobium keyboard --text coffee --key enter
Printed on an Android 15 emulator:
typed "coffee" into username, which now holds coffee; the keyboard is hidden

mobium keyboard --text coffee --key enter on an Android 15 emulator
Hide the keyboard
mobium keyboard --hide
Printed on an Android 15 emulator:
hid the keyboard
| Before | After |
|---|---|
![]() | ![]() |
mobium keyboard --hide on an Android 15 emulator
More, from mobium keyboard --help
mobium keyboard
mobium keyboard --text "hello"
mobium keyboard --text "coffee" --key enter
mobium keyboard --hide
The tool
keyboard calls app_keyboard; its arguments and what every client calls it are there.

