Skip to main content
Glama

Playwright MCP

by Angeluis001

browser_tab_close

Close specific browser tabs or the current tab by specifying the tab index using Playwright MCP's structured automation, ensuring precise control over tab management during web interactions.

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

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