controlFocus
Sets input focus to a specified control in a Windows desktop window using its title and control identifier, enabling reliable UI automation.
Instructions
Windows AutoIt controlFocus. Requires a trusted owner and an interactive Windows x64 desktop.
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": {
"title": "<title>",
"control": "<control>"
},
"name": "controlFocus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Window text | |
| title | Yes | Window title | |
| control | Yes | Control identifier |