Skip to content

Commit 07b6344

Browse files
committed
fix: required schema for tools is either an array of objects or boolean
1 parent 34994d9 commit 07b6344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tools-factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export async function createModuleTools () {
7171
type: 'string',
7272
description: 'The method name to search for.',
7373
},
74-
required: [],
74+
required: false,
7575
},
7676
},
7777
async handler (params) {

0 commit comments

Comments
 (0)