Type Text
mobile_type_keysType text into the focused element on a mobile device. Optionally specify a UI reference or exact target to focus first, rejecting ambiguous or stale targets for reliable input.
Instructions
Type text into the focused element. Optionally provide a ref or exact target to focus immediately before typing; ambiguous or stale targets are rejected.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device": "<device>",
"text": "<text>",
"submit": "<submit>"
},
"name": "mobile_type_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Current UI element ref to focus before typing, e.g. @e5 | |
| text | Yes | The text to type | |
| device | Yes | The device identifier to use. Use mobile_list_available_devices to find which devices are available to you. | |
| submit | Yes | Whether to submit the text. If true, the text will be submitted as if the user pressed the enter key. | |
| target | No | Exact UI attributes for the unique actionable input to focus before typing |