browser_tab_close
Close specific or current browser tabs in automated workflows using Playwright MCP. Simplify tab management by specifying the tab index to enhance browser automation efficiency.
Instructions
Close a 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": "browser_tab_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | The index of the tab to close. Closes current tab if not provided. |