window_action
Focus, minimize, maximize, restore, or close any window by its handle or title.
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 |