ui_type
Type text into the currently focused field on an iOS simulator. Tap the field first to focus it, then use this tool to input text.
Instructions
Type text into the currently focused field on the simulator. Tap a text field first with ui_tap to focus it, then use this to type.
Requires AXe CLI: brew tap cameroncooke/axe && brew install axe
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": "ui_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device UDID, name, or 'booted' | booted |
| text | Yes | Text to type |