window_action
Control desktop windows by focusing, minimizing, maximizing, restoring, or closing them. Identify a window using its handle or title to perform the desired action.
Instructions
Focus, minimize, maximize, restore or close a window.
close is destructive - it sends the window a close request and the app may
prompt to save. Identify the window by handle or title.
Args: params (WindowActionInput): target window plus the action to run.
Returns: str: JSON confirming the action, or an error if the window was not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |