Skip to main content
Glama

Playwright MCP

by nzjami
Apache 2.0
299,985
  • Apple
  • Linux

browser_tab_close

Close a specific or current browser tab by specifying its index in Playwright MCP, enabling precise control during browser automation tasks.

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/nzjami/mcpPlaywright'

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