@devries-cameron20 / composio Mirror · read-only / commits / 0cfc18e6f
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 23, 01:45 UTC

Fix toolkit slug input in tools list params

haxzie committed May 23, 2025 at 17:51 UTC 0cfc18e6ff7f3fd4b66d968fd966bb68004eaaf1
2 files changed +2 -2
packages/core/src/models/Tools.ts
+1 -1
@@ -262,7 +262,7 @@ export class Tools<
262 tool_slugs: queryParams.data.tools,
263 toolkit_slug: queryParams.data.toolkits?.join(','),
264 cursor: queryParams.data.cursor,
265 - important: queryParams.data.important,
265 + important: queryParams.data.important?.toString(),
266 limit: queryParams.data.limit?.toString(),
267 search: queryParams.data.search,
268 });
packages/core/src/types/tool.types.ts
+1 -1
@@ -58,7 +58,7 @@ export type ToolList = Array<Tool>;
58 export const ToolListParamsSchema = z.object({
59 tools: z.array(z.string()).optional(),
60 cursor: z.string().optional(),
61 - important: z.string().optional(),
61 + important: z.boolean().optional(),
62 limit: z.number().optional(),
63 search: z.string().optional(),
64 toolkits: z.array(z.string()).optional(),