close_tabs
Close multiple browser tabs in one operation, returning counts of successfully closed and failed tabs. Individual failures don't block the rest.
Instructions
close_tabs([1,2,3]) — 批量关标签,逐个走 close_tab,返回 {closed, failed}。 一张关不掉不影响其余(标签可能已被用户手动关掉)。
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": {
"tabs": "<tabs>"
},
"name": "close_tabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabs | Yes | Tab ids to close, e.g. from sweep_tabs() |