android_ui_set_text
Replaces text in an editable Android UI element matching a selector, using an optional index to target specific instances.
Instructions
Replace text in the Nth editable accessibility element matching a selector.
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": {
"value": "<value>"
},
"name": "android_ui_set_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| index | No | ||
| value | Yes | ||
| viewId | No | ||
| enabled | No | ||
| visible | No | ||
| editable | No | ||
| className | No | ||
| clickable | No | ||
| description | No | ||
| packageName | No | ||
| textContains | No | ||
| caseSensitive | No | ||
| descriptionContains | No |