browser_tabs
List, create, close, or select browser tabs by index for efficient tab management.
Instructions
List, create, close, or select a browser tab.
Args:
action: Operation to perform:
- list: List all open tabs
- new: Create a new tab
- close: Close a tab (uses index if provided, else current tab)
- select: Select a tab by index
index: Tab index, used for close/select operations.
If omitted for close, current tab is closed.
Returns:
Result of the tab operation
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 |
|---|---|---|---|
| action | Yes | ||
| index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |