Focus a window
focus_windowActivates a Hyprland window by its address, bringing it to the foreground so you can control the intended desktop window.
Instructions
Focus a window by its Hyprland address (from list_windows).
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": {
"address": "<address>"
},
"name": "focus_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes |