ui_type
Input text into the focused iOS Simulator field by typing or pasting, with paste mode for non-ASCII or non-US keyboard layouts and optional field clearing.
Instructions
Input text into the iOS Simulator
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 |
|---|---|---|---|
| text | Yes | Text to input | |
| udid | No | Udid of target, can also be set with the IDB_UDID env var | |
| method | No | "type" (default): presses keys as on a US keyboard; printable ASCII only. "paste": use when the keyboard layout is not US (e.g. AZERTY, where "type" types wrong characters) or the text is non-ASCII; pastes into the focused field (tap it first), ~2-20 s | type |
| replace | No | Paste only: clear the focused field first, e.g. after "type" produced wrong characters |