create_window
Open a new Firefox browser window for a specified profile, optionally loading a URL and setting size, position, state, focus, and incognito mode. Obtain the profile ID first from profiles_list.
Instructions
Create a new browser window
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 | Window top position in pixels | |
| url | No | URL to load in the new window | |
| left | No | Window left position in pixels | |
| state | No | Window state ("normal", "minimized", "maximized", "fullscreen") | normal |
| width | No | Window width in pixels | |
| height | No | Window height in pixels | |
| focused | No | Whether the new window takes focus. Firefox always focuses a new window, so with False the extension hands focus back to the window that had it; the result says "(focused)" if the new window kept it anyway. | |
| incognito | No | Whether to create an incognito window | |
| profile_id | Yes | ||
| window_type | No | Type of window ("normal", "popup", "panel", "detached_panel") | normal |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |