browser_tab_close
Close a specific browser tab by index or the current tab if no index is provided, simplifying tab management in Playwright MCP server automation workflows.
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"
}