window
Returns where the game’s window is on the desktop, for tests that must use the real mouse: client, the top left corner of the game’s picture in desktop pixels (x, y) and its width and height, and whether the window is minimised or the foreground window (the one that gets mouse and keyboard input).
To click a spot seen in a screenshot, take its position as a fraction of the picture, multiply by the size and add the corner. Works in any mode.
Read-only: it changes nothing in the game.
Arguments
None.
Call it as window over MCP, or POST /api/tool/window with the arguments as JSON.