type_text
Types text into a TextInput to test forms and validation, replacing its value unless append is set; locate fields by target, coordinates, or the focused field and get a new screenshot.
Instructions
Types text into a TextInput (replacing its value unless append=true) so forms and validation can be tested. Locate the field by "target" (testID, placeholder, accessibilityLabel, current value), by x/y, or omit both to use the focused field. Returns a new 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": "type_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| text | Yes | ||
| append | No | ||
| submit | No | Also fire onSubmitEditing (Enter) | |
| target | No |