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.

docs: remove @noErrors from changelog, use proper Twoslash

Dhawal Upadhyaya385d76ab371
diff --git a/docs/content/changelog/03-23-26-custom-tools-and-toolkits.mdx b/docs/content/changelog/03-23-26-custom-tools-and-toolkits.mdx
index 2fb45adbd..b5cd2362d 100644
--- a/docs/content/changelog/03-23-26-custom-tools-and-toolkits.mdx
+++ b/docs/content/changelog/03-23-26-custom-tools-and-toolkits.mdx
@@ -18,10 +18,10 @@ You can now create custom tools and toolkits that run locally alongside remote C
Custom tools support three patterns — standalone tools for internal logic, extension tools that wrap Composio toolkit APIs with business logic, and custom toolkits that group related tools.
-```ts
-// @noErrors
+```typescript
import { Composio, experimental_createTool, experimental_createToolkit } from "@composio/core";
import { z } from "zod/v3";
+// ---cut---
// Standalone tool — internal data, no Composio auth needed
const getUserProfile = experimental_createTool("GET_USER_PROFILE", {
@@ -74,7 +74,8 @@ const userManagement = experimental_createToolkit("USER_MANAGEMENT", {
});
// Bind everything to a session
-const session = await new Composio().create("user_1", {
+const composio = new Composio({ apiKey: "your_api_key" });
+const session = await composio.create("user_1", {
toolkits: ["gmail"],
experimental: {
customTools: [getUserProfile, sendPromoEmail],