get_foreground_window
Obtain information about the currently focused window, including its handle, title, process name, and PID, for desktop window management and automation.
Instructions
Get information about the currently focused window.
Returns hwnd, title, process_name, pid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||