setup_browser_state
Launches an interactive browser to enable user login or authentication, saves browser state (cookies, local storage) to a file for future use, and confirms state saving or returns error messages.
Instructions
Sets up and saves browser state for future use.
This tool should only be called in one scenario:
The user explicitly requests to set up browser state/authentication
Launches a non-headless browser for user interaction, allows login/authentication, and saves the browser state (cookies, local storage, etc.) to a local file.
Args: url: Optional URL to navigate to upon opening the browser. ctx: The MCP context (used for progress reporting, not directly here).
Returns: list[TextContent]: Confirmation of state saving or error messages.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
url | No |