input_text
Input text into UI elements on HarmonyOS devices for automated testing and interaction. Specify target element or coordinates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "input_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| text | No | ||
| device_id | No | ||
| element_id | No | ||
| hdc_server | No | ||
| bundle_name | No | ||
| element_text | No | ||
| element_type | No | ||
| element_handle | No |