browser_tabs
List, open, select, or close browser session tabs to manage the active page before acting on it with other browser tools.
Instructions
List, open, select or close the tabs of the browser session. list (the default): each tab's tab_id, url, title (null when the page did not answer in 3 s; a tab on a page the tools do not read has not_read:true, no title and the start of its address), whether it is the active page and whether browser_tabs opened it. new: opens a tab (url: http(s); file:// needs NORACU_ALLOW_FILE_URL=1) and makes it the active page. select: makes tab_id the active page — only a tab on an http(s) page (or file:// with NORACU_ALLOW_FILE_URL=1), or one still on the blank page it was opened on (tab_not_selectable otherwise). The other browser_* tools act on the active page only; a tab the page opens itself is listed, never followed. close: only a tab browser_tabs opened (tab_not_owned otherwise), never the last one. After new, select or closing the active tab, earlier element_index values no longer apply; when the active tab goes, the first tab select would take becomes the active page (none: no_active_page). An active tab that comes to show a page select would refuse stays the active page, and the other tools answer active_page_not_allowed — browser_navigate can take it to an http(s) page. new, select and close report delivery and retry.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_tabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| action | No | ||
| tab_id | No | ||
| browser_id | No |