focus_window
Bring any window to the foreground by its handle to ensure it receives focus for subsequent screen actions.
Instructions
Bring a window to the foreground (focus it).
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": {
"hwnd": "<hwnd>"
},
"name": "focus_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |