window
Close, list, open, or switch browser tabs using an action parameter and optional index or URL. Manage tab navigation efficiently.
Instructions
Manage browser window tabs
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": "window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Tab action to perform | |
| index | No | Tab index for close and switch actions | |
| url | No | URL to open in a new tab (open action only) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabs | Yes | Array of tab info after the action |