Skip to content

Commit 85e95a6

Browse files
committed
fix: another incompatibility in JSON schema handling
1 parent 1a4eaba commit 85e95a6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/tools/memory.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ export const takeMemorySnapshot = defineTool({
1919
schema: {
2020
filePath: zod
2121
.string()
22-
.describe('A path to a .heapsnapshot file to save the heapsnapshot to.')
23-
.endsWith('.heapsnapshot'),
22+
.describe('A path to a .heapsnapshot file to save the heapsnapshot to.'),
2423
},
2524
handler: async (request, response, context) => {
2625
const page = context.getSelectedPage();

0 commit comments

Comments
 (0)