session_export_playwright
A other tool on the Looking Glass MCP server.
This record as markdown: /tools/io-github-sahib-sawhney-wh-looking-glass-mcp/session-export-playwright.md
What session_export_playwright does on Looking Glass
AI agents call session_export_playwright as a supporting operation in Looking Glass workflows.
| Parameter | Type | Required | Description |
|---|---|---|---|
sessionId | string | Yes | Session ID to export (use session_list to find IDs) |
outputPath | string | — | Custom output path for the .spec.ts file |
Parameters from the server's own tool schema.
Why session_export_playwright is rated Low
The description is empty, providing no information about what this tool actually does. Based on the name alone, it appears to export session data (possibly cookies, storage, authentication tokens) in a Playwright-compatible format. This would be a Read operation, but given the sensitive nature of session data (credentials, auth tokens) being exported, severity could be medium-high.
From the tool's definition Tool name 'session_export_playwright' and empty description. Name suggests exporting session data in Playwright format.
Attacks that exploit this kind of access
The rule that runs session_export_playwright safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Looking Glass, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For session_export_playwright, this is the rule to start with:
session_export_playwright gets a rate cap, and everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Looking Glass, apply this rule, and every session_export_playwright call is checked against it from then on.
Questions about session_export_playwright
session_export_playwright is a other tool on the Looking Glass MCP server. It is categorised as a Other tool in the Looking Glass MCP Server, which means it performs auxiliary operations.
session_export_playwright accepts 2 parameters: sessionId, outputPath. Required: sessionId. The full parameter table on this page comes from the server's own tool schema.
Register the Looking Glass MCP server in PolicyLayer and add a rule for session_export_playwright: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Looking Glass. Nothing to install.
session_export_playwright is a Other tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the session_export_playwright rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for session_export_playwright. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
session_export_playwright is provided by the Looking Glass MCP server (looking-glass-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Looking Glass, and thousands of servers like it.
This server
Across the catalogue