Get the active window
get_active_windowRetrieve the focused window's class, title, process ID, and geometry to identify the active application and position desktop UI elements.
Instructions
Get the currently focused window's class, title, pid, and geometry.
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": "get_active_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||