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.

Update examples

haxzie8db28a394d79
diff --git a/examples/pre-processors/src/index.ts b/examples/pre-processors/src/index.ts
index 05ab8969d..334724562 100644
--- a/examples/pre-processors/src/index.ts
+++ b/examples/pre-processors/src/index.ts
@@ -16,7 +16,7 @@ const tools = await composio.getTools(
);
// Local modifiers
const tool = await composio.getToolBySlug('HACKERNEWS_GET_USER', {
- schema: (toolSlug, toolSchema) => {
+ modifyToolSchema: (toolSlug, toolSchema) => {
toolSchema.inputParameters = {};
return toolSchema;
},