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.

Fix docs strings

haxziec428541d62e0
diff --git a/packages/core/src/models/Toolkits.ts b/packages/core/src/models/Toolkits.ts
index d0db75601..68808f296 100644
--- a/packages/core/src/models/Toolkits.ts
+++ b/packages/core/src/models/Toolkits.ts
@@ -167,8 +167,12 @@ export class Toolkits {
* This method will create an auth config if one doesn't exist and initiate a connection request.
* @param {string} userId - The user id of the user to authorize
* @param {string} toolkitSlug - The slug of the toolkit to authorize
- * @param {string} authConfigId - The id of the auth config to use
* @returns {Promise<ConnectionRequest>} The connection request object
+ *
+ * @example
+ * ```typescript
+ * const connectionRequest = await composio.toolkits.authorize(userId, 'github');
+ * ```
*/
async authorize(userId: string, toolkitSlug: string): Promise<ConnectionRequest> {
const toolkit = await this.getToolkitBySlug(toolkitSlug);
diff --git a/packages/core/src/models/Tools.ts b/packages/core/src/models/Tools.ts
index 3e42b6d33..0d9625db2 100644
--- a/packages/core/src/models/Tools.ts
+++ b/packages/core/src/models/Tools.ts
@@ -300,7 +300,7 @@ export class Tools<
}
/**
- * Get a list of tools by their slugs
+ * Get a list of tools from composio based on filters
* @param userId - The user id
* @param filters - The filters for the tools
* @param options - The options for the tools