focus_window
Bring a specific window to the foreground using its handle or title fragment. Requires app allowlist.
Instructions
Bring a window to the foreground. REQUIRES action tier + app allowlist.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "focus_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | No | Exact window handle | |
| title_contains | No | Window title fragment |