List tabs
list_tabsLists every open browser tab with its id, URL, and active status. Use it to find tab ids before switching or closing tabs, or to locate popups and new tabs opened by the page.
Instructions
List every open tab with its id and current URL.
Use to discover tab ids before switch_tab or close_tab, or to find a tab opened by the page itself (target=_blank, popups get ids here too). Returns every tab with its id, URL and whether it is the active one.
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": "list_tabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabs | Yes | Open tabs this client can see. | |
| summary | Yes | One line saying what happened. |