puppeteer_page_history
Track and retrieve the history of visited URLs in chronological order, enabling clear monitoring of web navigation activities within automated browser sessions.
Instructions
Get the history of visited URLs, most recent urls first
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- index.ts:34-42 (registration)Registration of the 'puppeteer_page_history' tool, including its name, description, and input schema (no input parameters required). Note: No dedicated handler case in handleToolCall; falls to default.{ name: "puppeteer_page_history", description: "Get the history of visited URLs, most recent urls first", inputSchema: { type: "object", properties: {}, required: [], }, },
- index.ts:37-41 (schema)Input schema for puppeteer_page_history tool: an empty object with no required properties.inputSchema: { type: "object", properties: {}, required: [], },
- index.ts:96-96 (helper)Global urlHistory array declared, likely intended to store visited URLs for the puppeteer_page_history tool (though not populated in the provided code).const urlHistory: Array<string> = [];
- index.ts:205-214 (handler)Potential handler logic for retrieving page history using urlHistory.reverse().join('\n'), though the case is labeled 'page_history' not 'puppeteer_page_history'. May be intended for this tool.case "page_history": return { content: [ { type: "text", text: urlHistory.reverse().join("\n"), }, ], isError: false, };