Skip to content

open_page

Open a new page in the browser tab or navigate the current one to the given URL. Returns the information about tab in the first line and the content of the page on the following lines.

Arguments

Name Type Description
tab string The ID of the tab to interact with. If not provided, or the special value "new" is used, the new page will be created. If special value "current" is provided, the current page will be used.
id string The ID of the new page to assign. This ID can later be used as "tab" in other tools that interact with pages.
url string The URL of the page to navigate to. Examples: https://google.com, https://wikipedia.org.
active boolean Whether the tab should become the active tab in the window. If false, it has no effect. Defaults to false.

Output

NameTypeDescription
tabstringThe ID of the tab.
titlestringThe title of the page.
urlstringThe URL of the page.