mirror of
https://github.com/ChromeDevTools/chrome-devtools-mcp.git
synced 2026-09-14 19:45:30 +08:00
fix: make pageId required (#2084)
Refs: #2052 Co-authored-by: Samiya Caur <samiyac@chromium.org>
This commit is contained in:
@@ -365,7 +365,7 @@ export const CLOSE_PAGE_ERROR =
|
||||
'The last open page cannot be closed. It is fine to keep it open.';
|
||||
|
||||
export const pageIdSchema = {
|
||||
pageId: zod.number().optional().describe('Targets a specific page by ID.'),
|
||||
pageId: zod.number().describe('Targets a specific page by ID.'),
|
||||
};
|
||||
|
||||
export const timeoutSchema = {
|
||||
|
||||
Reference in New Issue
Block a user