reload
Reload specific Firefox browser tabs using tab IDs to refresh content during automation or debugging processes on the Firefox MCP Server.
Instructions
Reload page
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No |
Implementation Reference
- index-multi-debug.js:1369-1381 (handler)The main handler function for the 'reload' tool. It ensures the browser is running, gets the page for the specified or active tabId, calls page.reload() using Playwright, and returns a success message.async reload(args = {}) { this.ensureBrowserRunning(); const { tabId } = args; const page = this.getPage(tabId); await page.reload(); return { content: [{ type: 'text', text: `Page reloaded in tab '${tabId || this.activeTabId}'` }] }; }
- index-multi-debug.js:252-258 (schema)Tool registration entry including name, description, and input schema (optional tabId string). This defines the tool for the MCP server.{ name: 'reload', description: 'Reload page', inputSchema: { type: 'object', properties: { tabId: { type: 'string' } } }
- index-multi-debug.js:435-436 (registration)Dispatch logic in the MCP CallToolRequestHandler switch statement that routes 'reload' calls to the handler method.case 'reload': return await this.reload(args);
- index-multi-debug.js:255-258 (registration)Input schema definition for the reload tool, allowing optional tabId.inputSchema: { type: 'object', properties: { tabId: { type: 'string' } } }