From d110191ba4ad280ab2282b228975a60f01187235 Mon Sep 17 00:00:00 2001 From: Timur Sultanaev Date: Sun, 1 Dec 2024 01:35:39 +0100 Subject: [PATCH] add required array to typescript and regen --- schema/schema.json | 8 ++++---- schema/schema.ts | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/schema/schema.json b/schema/schema.json index 7d1dfab..c46e0f0 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -1984,15 +1984,15 @@ }, "type": "object" }, - "type": { - "const": "object", - "type": "string" - }, "required": { "items": { "type": "string" }, "type": "array" + }, + "type": { + "const": "object", + "type": "string" } }, "required": [ diff --git a/schema/schema.ts b/schema/schema.ts index 6492f62..b9fb9b9 100644 --- a/schema/schema.ts +++ b/schema/schema.ts @@ -695,6 +695,7 @@ export interface Tool { inputSchema: { type: "object"; properties?: { [key: string]: object }; + required?: string[]; }; }