send-keys-by-ios-class-chain
Input text into iOS app elements using class chain selectors for mobile automation testing with Appium.
Instructions
Send text to an element using iOS class chain (iOS only)
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": {
"classChain": "<classChain>",
"text": "<text>"
},
"name": "send-keys-by-ios-class-chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| classChain | Yes | iOS class chain (e.g., '**/XCUIElementTypeTextField') | |
| text | Yes | Text to input | |
| timeoutMs | No | Timeout in milliseconds (default: 10000) |