File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -899,6 +899,7 @@ Call ${handleDialog.name} to handle it before continuing.`);
899899 }
900900
901901 if ( this . #heapSnapshotOptions?. include ) {
902+ response . push ( '## Heap Snapshot Data' ) ;
902903 const stats = this . #heapSnapshotOptions. stats ;
903904 const staticData = this . #heapSnapshotOptions. staticData ;
904905 if ( stats ) {
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ export enum ToolCategory {
1313 DEBUGGING = 'debugging' ,
1414 EXTENSIONS = 'extensions' ,
1515 IN_PAGE = 'in-page' ,
16+ MEMORY = 'memory' ,
1617}
1718
1819export const labels = {
@@ -24,4 +25,5 @@ export const labels = {
2425 [ ToolCategory . DEBUGGING ] : 'Debugging' ,
2526 [ ToolCategory . EXTENSIONS ] : 'Extensions' ,
2627 [ ToolCategory . IN_PAGE ] : 'In-page tools' ,
28+ [ ToolCategory . MEMORY ] : 'Memory' ,
2729} ;
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export const exploreMemorySnapshot = defineTool({
4040 description :
4141 'Loads a memory heapsnapshot and returns snapshot summary stats. ' ,
4242 annotations : {
43- category : ToolCategory . PERFORMANCE ,
43+ category : ToolCategory . MEMORY ,
4444 readOnlyHint : true ,
4545 } ,
4646 schema : {
You can’t perform that action at this time.
0 commit comments