type_text
Types text into an iOS simulator's active input field, optionally tapping a target element first to focus it before entering the provided string.
Instructions
Type text (tap input field first to focus, or provide predicate).
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": {
"device_id": "<device_id>",
"text": "<text>"
},
"name": "type_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type | |
| device_id | Yes | Simulator UDID | |
| predicate | No | Tap element first |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |