Skip to content

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(core): accept widened object schemas in strict helper

jkomyno5a8e0e358a43
diff --git a/ts/packages/core/src/utils/jsonSchema.ts b/ts/packages/core/src/utils/jsonSchema.ts
index 7862b0dcf..1e3c48e80 100644
--- a/ts/packages/core/src/utils/jsonSchema.ts
+++ b/ts/packages/core/src/utils/jsonSchema.ts
@@ -328,7 +328,7 @@ export const removeNonRequiredProperties = <
type: 'object';
properties: Record<string, unknown>;
required?: string[];
- additionalProperties?: boolean;
+ additionalProperties?: unknown;
},
>(
schema: T