type_ax
Focus a UI field by accessibility name and insert text, optionally clearing existing content, to automate data entry in Electron apps.
Instructions
Focus an element by accessibility name and insert text (optional clear)
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": {
"name": "<name>",
"text": "<text>"
},
"name": "type_ax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Accessible name of the field | |
| role | No | AX role, e.g. "textbox" | |
| text | Yes | ||
| clear | No | ||
| exact | No | ||
| targetId | No | ||
| processId | No | Target process ID. Omit if only one app is running. |