android_type
Type text into the active Android input field, optionally tapping the target first, then submit or capture a screenshot to verify the result.
Instructions
Type text into the focused field, optionally tapping a field first.
ASCII only - adb's input text cannot send unicode.
Args: text: The text to type. ref: Optional ref to tap first, to focus that field. device: Device serial; defaults to the first physical device. submit: Press ENTER afterwards. screenshot: Return a screenshot of the result. scale: Long-edge px for that screenshot.
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": "android_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| text | Yes | ||
| scale | No | ||
| device | No | ||
| submit | No | ||
| screenshot | No |