Browse Source

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

Parth Sareen 1 month ago
parent
commit
28fb3e6d03
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/interfaces.ts

+ 2 - 2
src/interfaces.ts

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