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

@ -22,8 +22,10 @@ import type { ToolCapability } from '../../config.js';
export type ToolSchema<Input extends InputType> = {
name: string;
title: string;
description: string;
inputSchema: Input;
type: 'readOnly' | 'destructive';
};
type InputType = z.Schema;