Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Fix toolset types
haxzie committed
May 5, 2025 at 19:19 UTC
e2b8edeef7beaca2891acc32d5bd06e4030b0204
1 file changed
+1
-1
packages/core/src/toolset/ComposioToolset.ts
+1
-1
@@ -19,7 +19,7 @@ export class ComposioToolset extends BaseComposioToolset<Array<CustomTool>, Cust
19
};
20
21
async getTools(params?: ToolListParams): Promise<Array<CustomTool>> {
22
- const tools = await this.client?.tools.getTools(params);
22
+ const tools = await this.getComposio()?.tools.getTools(params);
23
return tools?.items.map((tool) => this._wrapTool(tool as Tool)) ?? [];
24
}
25