Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
Fix type error in Auth config docs and separate tabs in triggers (#1931)
Sushmitha Malleshe99a6d07690d
diff --git a/fern/pages/src/tool-calling/authenticating-tools.mdx b/fern/pages/src/tool-calling/authenticating-tools.mdxindex 3c27ccb70..5f0118ea1 100644--- a/fern/pages/src/tool-calling/authenticating-tools.mdx+++ b/fern/pages/src/tool-calling/authenticating-tools.mdx@@ -166,7 +166,7 @@ print(f"Connection established: {connected_account.id}")````-```typescript {10-14}+```typescript {10-16}import { Composio } from '@composio/core';const composio = new Composio({apiKey: "YOUR_COMPOSIO_API_KEY"});@@ -179,7 +179,9 @@ const userId = 'user_4567';const connRequest = await composio.connectedAccounts.initiate(userId,authConfigId,- callbackUrl: 'https://www.yourapp.com/callback'+ {+ callbackUrl: 'https://www.yourapp.com/callback',+ });console.log(`Redirect URL: ${connRequest.redirectUrl}`);diff --git a/fern/pages/src/triggers/using-triggers.mdx b/fern/pages/src/triggers/using-triggers.mdxindex b410df75a..ff91a2493 100644--- a/fern/pages/src/triggers/using-triggers.mdx+++ b/fern/pages/src/triggers/using-triggers.mdx@@ -24,8 +24,7 @@ Each event is delivered as a **structured payload** to your webhook endpoint (viYou can create triggers using either the Composio dashboard or programmatically via the SDK.-<Tabs>-<Tab title="Dashboard">+### Using dashboardTo create triggers through the **dashboard**:- Navigate to the <a href="https://platform.composio.dev?next_page=%2Fauth-configs" target="_blank">Auth Configs</a> page@@ -52,8 +51,7 @@ Some triggers require additional configuration. The dashboard will prompt you fo/></Frame>-</Tab>-<Tab title="SDK">+### Using SDKCreate triggers programmatically by providing the trigger type and any required configuration.<CodeGroup><SnippetCode@@ -75,8 +73,6 @@ Create triggers programmatically by providing the trigger type and any required/></CodeGroup>-</Tab>-</Tabs>## Subscribing to triggers