zen_close_tab
Close a tab by its index from the tab list. Prevents closing the last remaining tab.
Instructions
Close a tab by index. Cannot close the last remaining 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": {
"index": "<index>"
},
"name": "zen_close_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Tab index to close (from zen_list_pages) |