@devries-cameron20 / composio Mirror · read-only / commits / 0754ce060
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 05:45 UTC

docs: fix toolkit casing consistency and remove unnecessary apiKey

- Use lowercase toolkit names consistently across both guides - Remove explicit apiKey in MCP TypeScript block (reads from env) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Sushmitha Mallesh committed Mar 2, 2026 at 21:29 UTC 0754ce060f2cac81b4ef857919d7534542faebf8
2 files changed +4 -4
docs/content/docs/native-tools-vs-mcp.mdx
+1 -1
@@ -66,7 +66,7 @@ mcp_headers = session.mcp.headers
66 ```typescript
67 import { Composio } from '@composio/core';
68
69 -const composio = new Composio({ apiKey: process.env.COMPOSIO_API_KEY });
69 +const composio = new Composio();
70 const session = await composio.create("user_123");
71
72 const mcpUrl = session.mcp.url;
docs/content/docs/sessions-vs-direct-execution.mdx
+3 -3
@@ -130,7 +130,7 @@ tools = composio.tools.get(
130 # Or by toolkit
131 tools = composio.tools.get(
132 user_id="user_123",
133 - toolkits=["GITHUB"],
133 + toolkits=["github"],
134 limit=50
135 )
136
@@ -159,7 +159,7 @@ const tools = await composio.tools.get("user_123", {
159
160 // Or by toolkit
161 const allTools = await composio.tools.get("user_123", {
162 - toolkits: ["GITHUB"],
162 + toolkits: ["github"],
163 limit: 50,
164 });
165
@@ -173,7 +173,7 @@ const result = await composio.tools.execute("GITHUB_CREATE_ISSUE", {
173 </Tabs>
174
175 <Callout type="warn">
176 -`tools.get()` returns 20 tools by default. When fetching from multiple toolkits (e.g., `toolkits=["GMAIL", "GITHUB", "TAVILY"]`), the limit may cut off tools from later toolkits. Increase `limit` or fetch each toolkit separately.
176 +`tools.get()` returns 20 tools by default. When fetching from multiple toolkits (e.g., `toolkits=["gmail", "github", "tavily"]`), the limit may cut off tools from later toolkits. Increase `limit` or fetch each toolkit separately.
177 </Callout>
178
179 With direct execution, you manage [auth configs](/docs/auth-configuration/custom-auth-configs), [connect links](/docs/tools-direct/authenticating-tools), and [toolkit versioning](/docs/tools-direct/toolkit-versioning) yourself.