File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ import { TELEMETRY_EVENTS } from "../sdk/utils/telemetry/events";
7
7
import { ZToolSchemaFilter } from "../types/base_toolset" ;
8
8
import { Optional , Sequence } from "../types/util" ;
9
9
10
+ type ToolSchema = {
11
+ name : string ;
12
+ description : string ;
13
+ parameters : Record < string , unknown > ;
14
+ } ;
15
+
10
16
export class LlamaIndexToolSet extends BaseComposioToolSet {
11
17
/**
12
18
* Composio toolset for LlamaIndex framework.
@@ -33,7 +39,7 @@ export class LlamaIndexToolSet extends BaseComposioToolSet {
33
39
}
34
40
35
41
private _wrapTool (
36
- schema : any ,
42
+ schema : ToolSchema ,
37
43
entityId : Optional < string > = null
38
44
) : FunctionTool < Record < string , unknown > , JSONValue | Promise < JSONValue > > {
39
45
return FunctionTool . from (
You can’t perform that action at this time.
0 commit comments