get_foreground_window
Retrieve the currently active window to target automation tasks precisely, enabling focused UI control on Windows.
Instructions
Get the current foreground window.
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 | |||