close_tab
Close a browser tab by providing its exact tab ID or a URL pattern that uniquely identifies it.
Instructions
Close a tab.
Args: tab_id: Exact tab id. url_pattern: Regex matched against tab URLs. Must identify one tab.
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": "close_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | ||
| url_pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |