Skip to main content
Glama

browser_handle_dialog

Handle browser dialogs by accepting or dismissing prompts during automated web interactions. Manage dialog responses to continue script execution without manual intervention.

Instructions

Handle dialog

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
acceptYes
promptTextNo

Implementation Reference

  • index.js:443-450 (registration)
    Registration of the 'browser_handle_dialog' tool in index.js. It delegates execution to 'proxyToolCall'.
    server.tool('browser_handle_dialog', 'Handle dialog', {
      accept: z.boolean(),
      promptText: z.string().optional()
    }, async (args) => {
      const check = requireActivePage();
      if (check) return check;
      return proxyToolCall('browser_handle_dialog', args);
    });

Latest Blog Posts

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/OMGEverdo/browser-pool-mcp'

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