Type into element
element_typeTypes text into a referenced UI element, using native insertion for text fields and keystrokes for other focused elements; use separate tab actions to move between fields.
Instructions
Type text into an element: native text fields take it by AX insertion, others as keystrokes once focused. "\t" is not turned into a Tab key press here; to move to the next field use type_text or press_keys "tab".
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": {
"ref": "<ref>",
"text": "<text>"
},
"name": "element_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref from ax_tree/ax_find, e.g. "e12". | |
| text | Yes | Text to type. | |
| takeover | No | Omit to follow the plugin setting ("prefer" uses real input first, "fallback" tries background input first, "refuse" disables takeover). Use true for reliable input in Chromium (including Brave), Electron, and terminal hosts when takeover is allowed. Takeover brings the window forward and can interrupt the user. For window targets, use false to request background-only input; desktop and display targets send real input. |