Skip to main content
Glama

Playwright MCP

by lewisvoncken
Apache 2.0
275,350
  • Linux
  • Apple

browser_tab_close

Close a specific browser tab by index or the current tab if no index is specified, using browser automation through the Playwright MCP server.

Instructions

Close a tab

Input Schema

NameRequiredDescriptionDefault
indexNoThe 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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lewisvoncken/playwright-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server