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

haxzie83cbe3476fa9
diff --git a/examples/custom-tools/src/auth-credentials.ts b/examples/custom-tools/src/connection-config.ts
similarity index 96%
rename from examples/custom-tools/src/auth-credentials.ts
rename to examples/custom-tools/src/connection-config.ts
index 2c26f2e11..e735032e2 100644
--- a/examples/custom-tools/src/auth-credentials.ts
+++ b/examples/custom-tools/src/connection-config.ts
@@ -44,7 +44,7 @@ const tool = await composio.tools.createCustomTool({
{
method: 'PUT',
headers: {
- Authorization: `Bearer ${connectionConfig?.access_token}`,
+ Authorization: `Bearer ${connectionConfig?.val?.access_token}`,
},
}
);