Skip to main content
Glama

go_back

Navigate to the previous page in browser automation workflows, enabling efficient backtracking during web navigation and interaction tasks.

Instructions

Go back to the previous page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler for 'go_back'. Calls browser.goBack() and returns success response.
    handler: async () => { await browser.goBack(); return { success: true, message: 'Went back to previous page' }; }
  • Input schema for 'go_back' tool (no required parameters).
    inputSchema: { type: 'object', properties: {}, required: [] },
  • Full tool registration object for 'go_back' returned by createPlaywrightTools, including name, description, schema, and handler.
    { name: 'go_back', description: 'Go back to the previous page', inputSchema: { type: 'object', properties: {}, required: [] }, handler: async () => { await browser.goBack(); return { success: true, message: 'Went back to previous page' }; } },
  • Browser wrapper method goBack() that ensures browser is launched and calls Playwright page.goBack().
    async goBack() { await this.ensureLaunched(); await this.page.goBack(); }

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/zypin-testing/zypin-mcp'

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