Chrome DevTools for coding agents
fix: remove endsWith for filePath in memory tools (#1041)
Alex Rudenkod0622d52d46a
diff --git a/docs/tool-reference.md b/docs/tool-reference.mdindex 6d36c4ce..874e814d 100644--- a/docs/tool-reference.md+++ b/docs/tool-reference.md@@ -1,6 +1,6 @@<!-- AUTO GENERATED DO NOT EDIT - run 'npm run docs' to update-->-# Chrome DevTools MCP Tool Reference (~7095 cl100k_base tokens)+# Chrome DevTools MCP Tool Reference (~7084 cl100k_base tokens)- **[Input automation](#input-automation)** (9 tools)- [`click`](#click)diff --git a/src/tools/memory.ts b/src/tools/memory.tsindex 9c13be23..d75122ba 100644--- a/src/tools/memory.ts+++ b/src/tools/memory.ts@@ -19,8 +19,7 @@ export const takeMemorySnapshot = defineTool({schema: {filePath: zod.string()- .describe('A path to a .heapsnapshot file to save the heapsnapshot to.')- .endsWith('.heapsnapshot'),+ .describe('A path to a .heapsnapshot file to save the heapsnapshot to.'),},handler: async (request, response, context) => {const page = context.getSelectedPage();