Skip to content

Commit d751693

Browse files
samiyacSamiya Caur
andauthored
fix: make pageId required (#2084)
Refs: #2052 Co-authored-by: Samiya Caur <samiyac@chromium.org>
1 parent 32dc50d commit d751693

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tools/ToolDefinition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ export const CLOSE_PAGE_ERROR =
365365
'The last open page cannot be closed. It is fine to keep it open.';
366366

367367
export const pageIdSchema = {
368-
pageId: zod.number().optional().describe('Targets a specific page by ID.'),
368+
pageId: zod.number().describe('Targets a specific page by ID.'),
369369
};
370370

371371
export const timeoutSchema = {

0 commit comments

Comments
 (0)