Skip to content

Commit

Permalink
Merge pull request #87 from strowk/main
Browse files Browse the repository at this point in the history
Add array of required properties to inputSchema of Tool
  • Loading branch information
dsp-ant authored Dec 2, 2024
2 parents 7b8e87c + 2aedf91 commit bb5fdd2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1984,6 +1984,12 @@
},
"type": "object"
},
"required": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"const": "object",
"type": "string"
Expand Down
1 change: 1 addition & 0 deletions schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ export interface Tool {
inputSchema: {
type: "object";
properties?: { [key: string]: object };
required?: string[];
};
}

Expand Down

0 comments on commit bb5fdd2

Please sign in to comment.