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.

chore: add changeset for ToolRouterAuthorizeFn alias fix

abir670ecc94bc4f
diff --git a/.changeset/fix-authorize-alias-type.md b/.changeset/fix-authorize-alias-type.md
new file mode 100644
index 000000000..92e9ee6e6
--- /dev/null
+++ b/.changeset/fix-authorize-alias-type.md
@@ -0,0 +1,5 @@
+---
+"@composio/core": patch
+---
+
+Add missing `alias` option to `ToolRouterAuthorizeFn` type. The `ToolRouterSession.authorize()` implementation already accepted `alias`, but the exported type didn't include it, causing type errors when passing `{ alias: 'work-gmail' }` to `session.authorize()`.