appium_set_value
Enter text into a mobile app element. Specify the text and, optionally, an element ID or session to target the correct input field.
Instructions
Enter text into an element
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": "appium_set_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to enter | |
| sessionId | No | Session ID; defaults to the active session. | |
| w3cActions | No | When true, type text via the W3C Actions API (performActions) instead of the driver-specific setValue. No elementUUID needed — key events are sent to whatever element currently has focus. Works on both Android and iOS. | |
| elementUUID | No | Element ID from appium_find_element. |