tab_close
Close a browser tab by index or by matching part of its URL. Use -1 to close the active tab.
Instructions
Close a tab by index (-1 = active), or by url_contains.
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": "tab_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| url_contains | No | Close the first tab whose URL contains this substring (overrides index). |