Skip to main content
Glama

WebScout MCP

by pyscout

close_session

Terminate browser sessions to release system resources and prevent memory leaks. Clean up browser instances, pages, and contexts when web automation tasks are complete.

Instructions

Close the browser session and free all associated resources including browser instance, pages, and contexts. Always call this when finished with a session to prevent memory leaks. The sessionId becomes invalid after closing and cannot be reused. Any unsaved work or open pages will be lost.

Input Schema

NameRequiredDescriptionDefault
sessionIdYesSession ID obtained from initialize_session to close

Input Schema (JSON Schema)

{ "properties": { "sessionId": { "description": "Session ID obtained from initialize_session to close", "type": "string" } }, "required": [ "sessionId" ], "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/pyscout/webscout-mcp'

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