browser_tab_close
Close specific or current browser tabs during automation using Playwright MCP. Simplifies tab management for efficient web interactions without requiring visual models.
Instructions
Close a tab
Input Schema
Name | Required | Description | Default |
---|---|---|---|
index | No | The index of the tab to close. Closes current tab if not provided. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"index": {
"description": "The index of the tab to close. Closes current tab if not provided.",
"type": "number"
}
},
"type": "object"
}