소스 검색

interface: relax enum for tool and allow multiple property types (#217)

Parth Sareen 3 달 전
부모
커밋
28fb3e6d03
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/interfaces.ts

+ 2 - 2
src/interfaces.ts

@@ -86,9 +86,9 @@ export interface Tool {
       required: string[];
       properties: {
         [key: string]: {
-          type: string;
+          type: string | string[];
           description: string;
-          enum?: string[];
+          enum?: any[];
         };
       };
     };