update_window
Modify a Firefox window's position, size, state, or focus using a profile and window ID.
Instructions
Update window properties
profile_id is required: obtain it from profiles_list. All object IDs are local to that profile; never reuse them in another profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | New window top position in pixels | |
| left | No | New window left position in pixels | |
| state | No | New window state ("normal", "minimized", "maximized", "fullscreen") | |
| width | No | New window width in pixels | |
| height | No | New window height in pixels | |
| focused | No | True brings the window to the front. False is refused: Firefox cannot take focus away from a window, so call focus_window on the window that should have it instead. | |
| window_id | Yes | The ID of the window to update | |
| profile_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |