type_text
Types text into the currently focused iOS text field and can press Return or delete existing characters first. Tap the target field beforehand; verify the result with the UI inspector.
Instructions
Type into the focused text field, adding to what is already there. Tap the field first (tap_element), because this doesn't choose a field. Use \n for return, or submit to press it at the end; use deleteCount to remove existing text. It can also type into Siri's field when that has focus; to send Siri a phrase directly use siri. Doesn't check what the field ends up holding; verify with describe_ui.
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; \n presses return | |
| device | No | Device UDID or name substring. Defaults to the select_device choice, then IOS_DEVICE_MCP_DEVICE, else the single USB-connected device. | |
| submit | No | Press return after typing | |
| deleteCount | No | Press delete this many times before typing, e.g. to clear a field |