From 20b292247e5d4fde16a72ff6747087d57afffa4a Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Wed, 25 Feb 2026 15:24:56 +0100 Subject: [PATCH] fix: another incompatibility in JSON schema handling --- docs/tool-reference.md | 2 +- src/tools/memory.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/tool-reference.md b/docs/tool-reference.md index 6d36c4ce7..874e814de 100644 --- a/docs/tool-reference.md +++ b/docs/tool-reference.md @@ -1,6 +1,6 @@ -# 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.ts index 9c13be230..d75122bad 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();