browser_closeTab
Close the active browser tab and automatically switch to the previous one. Optionally specify a tab index to close a specific tab.
Instructions
关闭当前标签页,自动切换到上一个标签页。
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_closeTab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | 要关闭的标签页索引(可选,默认关闭当前页) |