desktop_focus_window
Focus a specified window by its handle, restoring it first if minimized so AI agents can interact with the correct application.
Instructions
把指定句柄的窗口切到前台(最小化时会先还原)。句柄来自 desktop_list_windows / desktop_perceive。
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": {
"handle": "<handle>"
},
"name": "desktop_focus_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | 窗口句柄 | |
| verify | No |