Type text
phone_typeTypes text into the focused Android field or taps a specified field first, with options to clear input and submit. Use it to fill forms or trigger searches in agent-driven emulator tests.
Instructions
Type text into the focused field, or first tap a field given by ref or field (its visible text or hint). Newlines press Enter. ASCII only for now.
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": "phone_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element number from the latest screen list. | |
| text | Yes | Text to type. | |
| clear | No | Delete the existing text first. | |
| field | No | Visible text, hint or id of the field to type into. | |
| serial | No | Which device to use. Only needed when several are connected. | |
| submit | No | Press Enter afterwards. |