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.
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_foreground_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||