File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import {
1717} from './formatters/networkFormatter.js' ;
1818import { formatA11ySnapshot } from './formatters/snapshotFormatter.js' ;
1919import type { McpContext } from './McpContext.js' ;
20+ import { handleDialog } from './tools/pages.js' ;
2021import type { ImageContentData , Response } from './tools/ToolDefinition.js' ;
2122import { paginate , type PaginationOptions } from './utils/pagination.js' ;
2223
@@ -167,7 +168,7 @@ export class McpResponse implements Response {
167168 if ( dialog ) {
168169 response . push ( `# Open dialog
169170${ dialog . type ( ) } : ${ dialog . message ( ) } (default value: ${ dialog . message ( ) } ).
170- Call browser_handle_dialog to handle it before continuing.` ) ;
171+ Call ${ handleDialog . name } to handle it before continuing.` ) ;
171172 }
172173
173174 if ( this . #includePages) {
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ Emulating: 4x slowdown`,
169169 `# test response
170170# Open dialog
171171alert: test (default value: test).
172- Call browser_handle_dialog to handle it before continuing.` ,
172+ Call handle_dialog to handle it before continuing.` ,
173173 ) ;
174174 } ) ;
175175 } ) ;
You can’t perform that action at this time.
0 commit comments