Skip to main content
Glama

browser_resize

Adjust browser window dimensions to specific width and height values for testing or automation workflows.

Instructions

Resize window

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
widthYes
heightYes

Implementation Reference

  • index.js:434-441 (registration)
    The browser_resize tool is registered using server.tool, taking width and height as input and proxying the call via proxyToolCall.
    server.tool('browser_resize', 'Resize window', {
      width: z.number(),
      height: z.number()
    }, async (args) => {
      const check = requireActivePage();
      if (check) return check;
      return proxyToolCall('browser_resize', 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