Skip to content

Commit bec9dae

Browse files
authored
fix: mark lighthouse and memory as non-read-only (#1769)
Closes #1767
1 parent 192c54d commit bec9dae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/lighthouse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const lighthouseAudit = definePageTool({
2525
description: `Get Lighthouse score and reports for accessibility, SEO and best practices. This excludes performance. For performance audits, run ${startTrace.name}`,
2626
annotations: {
2727
category: ToolCategory.DEBUGGING,
28-
readOnlyHint: true,
28+
readOnlyHint: false,
2929
},
3030
schema: {
3131
mode: zod

src/tools/memory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const takeMemorySnapshot = definePageTool({
1414
description: `Capture a memory heapsnapshot of the currently selected page to memory leak debugging`,
1515
annotations: {
1616
category: ToolCategory.PERFORMANCE,
17-
readOnlyHint: true,
17+
readOnlyHint: false,
1818
},
1919
schema: {
2020
filePath: zod

0 commit comments

Comments
 (0)