Skip to main content
Glama

woolworths_navigate

Navigate directly to specific Woolworths website pages to access products, specials, or shopping features using provided URLs.

Instructions

Navigate to a specific URL on the Woolworths website

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to navigate to

Implementation Reference

  • The function that executes the tool logic for woolworths_navigate, navigating the current browser page to the specified URL and returning the new URL and title.
    async function handleNavigate(args: any): Promise<any> {
      if (!browser || !currentPage) {
        throw new Error("Browser is not open. Use woolworths_open_browser first.");
      }
    
      await currentPage.goto(args.url, { waitUntil: "networkidle2" });
    
      return {
        success: true,
        url: currentPage.url(),
        title: await currentPage.title(),
      };
    }
  • The tool definition including name, description, and input schema for woolworths_navigate.
    {
      name: "woolworths_navigate",
      description: "Navigate to a specific URL on the Woolworths website",
      inputSchema: {
        type: "object",
        properties: {
          url: {
            type: "string",
            description: "The URL to navigate to",
          },
        },
        required: ["url"],
      },
    },
  • src/index.ts:627-629 (registration)
    The switch case that registers and dispatches calls to the woolworths_navigate handler in the tool call request handler.
    case "woolworths_navigate":
      result = await handleNavigate(args || {});
      break;

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/elijah-g/Woolworths-mcp'

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