chore: annotate tools (#351)

Fixes https://github.com/microsoft/playwright-mcp/issues/215
This commit is contained in:
Pavel Feldman
2025-05-05 17:38:22 -07:00
committed by GitHub
parent 8cd7d5a753
commit d01aa19ffa
19 changed files with 157 additions and 62 deletions

View File

@@ -25,8 +25,10 @@ const pdf = defineTool({
schema: {
name: 'browser_pdf_save',
title: 'Save as PDF',
description: 'Save page as PDF',
inputSchema: z.object({}),
type: 'readOnly',
},
handle: async context => {