Skip to content

Commit d110191

Browse files
committed
add required array to typescript and regen
1 parent baba62d commit d110191

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

schema/schema.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,15 +1984,15 @@
19841984
},
19851985
"type": "object"
19861986
},
1987-
"type": {
1988-
"const": "object",
1989-
"type": "string"
1990-
},
19911987
"required": {
19921988
"items": {
19931989
"type": "string"
19941990
},
19951991
"type": "array"
1992+
},
1993+
"type": {
1994+
"const": "object",
1995+
"type": "string"
19961996
}
19971997
},
19981998
"required": [

schema/schema.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,7 @@ export interface Tool {
695695
inputSchema: {
696696
type: "object";
697697
properties?: { [key: string]: object };
698+
required?: string[];
698699
};
699700
}
700701

0 commit comments

Comments
 (0)