Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/McpResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
} from './formatters/networkFormatter.js';
import {formatA11ySnapshot} from './formatters/snapshotFormatter.js';
import type {McpContext} from './McpContext.js';
import {handleDialog} from './tools/pages.js';
import type {ImageContentData, Response} from './tools/ToolDefinition.js';
import {paginate, type PaginationOptions} from './utils/pagination.js';

Expand Down Expand Up @@ -167,7 +168,7 @@ export class McpResponse implements Response {
if (dialog) {
response.push(`# Open dialog
${dialog.type()}: ${dialog.message()} (default value: ${dialog.message()}).
Call browser_handle_dialog to handle it before continuing.`);
Call ${handleDialog.name} to handle it before continuing.`);
}

if (this.#includePages) {
Expand Down
2 changes: 1 addition & 1 deletion tests/McpResponse.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Emulating: 4x slowdown`,
`# test response
# Open dialog
alert: test (default value: test).
Call browser_handle_dialog to handle it before continuing.`,
Call handle_dialog to handle it before continuing.`,
);
});
});
Expand Down
Loading