type_text
Types text into the focused UI element on a mobile app, with options to tap a field first or submit the input.
Instructions
Type text into the focused field (optionally tap a field first via ref/selector). submit presses Enter/Return.
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": {
"text": "<text>"
},
"name": "type_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Field to tap before typing | |
| text | Yes | ||
| device | No | Device id from list_devices. Optional when exactly one device is booted. | |
| submit | No | ||
| selector | No |