-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Copy link
Labels
Description
Is your feature request related to a problem? Please describe.
When using new_page to open a URL, the new tab is always focused and brought to the front. This might not always be wanted e.g. if it's opened to explore next/later, similar to cmd+click in normal Chrome.
Describe the solution you'd like
Add a bringToFront boolean parameter to the new_page tool:
{
url: string,
timeout?: number,
bringToFront?: boolean // New parameter, default true
}When bringToFront: false, the new page should be created without focusing it or bringing it to the front.
This parameter name is chosen to mirror select_page. Alternatively it could be openInBackground but feel like the consistency is helpful.
Describe alternatives you've considered
Using new_page followed by select_page with bringToFront: true to switch back to the original page. This works but causes a visible flicker as the new tab briefly appears before switching back.
Additional context
No response