browser_tabs
Manage tabs in a Playwright session: list open tabs, open a new one, close the current or indexed tab, or select a tab by index to control the active page.
Instructions
List, create, close, or select a browser tab.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "browser_tabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Tab index, used for close/select. If omitted for close, current tab is closed. | |
| action | Yes | Operation to perform | |
| sessionId | No | Target session ID. Omit to use the active session. |