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
| Field | Type | Name | Description |
|---|---|---|---|
| session_id | String | Session id | e.g. 6f1c2a08-6c1e-4a1b-9a5e-9b2f0d3c7e11 |
| is_closed | Boolean | Closed | false when there was no such session of your own to close. e.g. true |
| open_session_count | Integer | Open sessions | Sessions still open on this instance, all users included. e.g. 1 |