Close a Zen tab
tabs_closeClose a tab Claude opened to clean up finished browsing work; closing any other tab requires force=true and an explicit user request.
Instructions
Close a tab Claude opened. Use it to clean up tabs you are done with. Closing a tab Claude did not open requires force=true and should only be done when the user asks.
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": {
"tabId": "<tabId>"
},
"name": "tabs_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Allow closing a tab that Claude did not open (only when the user asked). | |
| tabId | Yes | Tab ID from tabs_context / tabs_create. |