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: add alias to ToolRouterAuthorizeFn type

abir716e22d8e8fb
diff --git a/ts/packages/core/src/types/toolRouter.types.ts b/ts/packages/core/src/types/toolRouter.types.ts
index 5019ff057..c82047e30 100644
--- a/ts/packages/core/src/types/toolRouter.types.ts
+++ b/ts/packages/core/src/types/toolRouter.types.ts
@@ -342,7 +342,7 @@ export type ToolRouterToolsFn<
export type ToolRouterAuthorizeFn = (
toolkit: string,
- options?: { callbackUrl?: string }
+ options?: { callbackUrl?: string; alias?: string }
) => Promise<ConnectionRequest>;
export const ToolRouterToolkitsOptionsSchema = z.object({