Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(v2/agent): stop capping pinned exchange toolkits at five (#4496)

Nicolas973420ef66c1
diff --git a/apps/api/src/controllers/v2/types.ts b/apps/api/src/controllers/v2/types.ts
index a35a795a8..5285fb257 100644
--- a/apps/api/src/controllers/v2/types.ts
+++ b/apps/api/src/controllers/v2/types.ts
@@ -1003,7 +1003,7 @@ const agentWebhookSchema = createWebhookSchema([
// per-thread inheritance rules; the gateway only validates the shape.
const agentExchangeSchema = z.strictObject({
enabled: z.boolean().optional(),
- toolkits: z.array(z.string()).max(5).optional(),
+ toolkits: z.array(z.string()).optional(),
maxCalls: z.number().int().min(1).max(30).optional(),
requireApproval: z.boolean().optional(),
approve: z