Skip to main content
Glama

Playwright MCP

by furugen

browser_tab_close

Automatically close a specific or the current browser tab using structured accessibility snapshots in Playwright MCP, streamlining browser automation without screenshots or visual models.

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/furugen/playwright-mcp'

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