Playwright

Download 0
Last updated Sep 5, 2026

playwright-close

Closes a browser session and releases the browser it held on the Playwright MCP server. Call this when the task is done: an open session counts against the session ceiling until it is closed or reaped for being idle. Closing a session that no longer exists reports is_closed=false rather than failing.

playwright-close session-id=VALUE
session-id=VALUE
Required. Browser session to close. e.g. the session_id returned by playwright-open

Output Fields

FieldTypeNameDescription
session_idStringSession ide.g. 6f1c2a08-6c1e-4a1b-9a5e-9b2f0d3c7e11
is_closedBooleanClosedfalse when there was no such session of your own to close. e.g. true
open_session_countIntegerOpen sessionsSessions still open on this instance, all users included. e.g. 1