Type text
type_textInput ASCII text into any focused field by waiting for the soft keyboard to appear before typing. Optionally clear existing content and press ENTER to submit.
Instructions
Type ASCII text into the focused field. Waits for the soft keyboard first, so it is safe to call right after tapping a field. Options: clear the field first, press ENTER after. Non-ASCII characters are not supported by adb input.
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 |
|---|---|---|---|
| text | Yes | Text to type (ASCII) | |
| clear | No | Clear the field before typing (select-all + delete) | |
| serial | No | Device serial (defaults to session or the only device) | |
| submit | No | Press ENTER after typing |