get_active_window
Retrieve details about the currently active window, including its title, handle, position, and size, as JSON. Returns null if no window is active.
Instructions
Return information about the currently focused (active) window.
Returns: str: JSON with the active window's title, handle, position and size, or {"ok": true, "window": null} if none is active.
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 | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |