We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28fb3e6 commit e4f9c8fCopy full SHA for e4f9c8f
src/interfaces.ts
@@ -79,15 +79,19 @@ export interface ToolCall {
79
export interface Tool {
80
type: string;
81
function: {
82
- name: string;
83
- description: string;
84
- parameters: {
85
- type: string;
86
- required: string[];
87
- properties: {
+ name?: string;
+ description?: string;
+ type?: string;
+ parameters?: {
+ $defs?: any;
88
+ items?: any;
89
+ required?: string[];
90
+ properties?: {
91
[key: string]: {
- type: string | string[];
92
+ type?: string | string[];
93
94
95
enum?: any[];
96
};
97
0 commit comments