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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 157 additions and 62 deletions

View file

@ -26,8 +26,10 @@ const install = defineTool({
capability: 'install',
schema: {
name: 'browser_install',
title: 'Install the browser specified in the config',
description: 'Install the browser specified in the config. Call this if you get an error about the browser not being installed.',
inputSchema: z.object({}),
type: 'destructive',
},
handle: async context => {