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 21, 21:00 UTC
docs: use array format for connectedAccounts, add backwards-compat note
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Abir Taheer committed
May 8, 2026 at 01:48 UTC
0172eedf83823dc90cd2457ebebcc90cb0c89bde
1 file changed
+3
-1
docs/content/docs/configuring-sessions.mdx
+3
-1
@@ -394,7 +394,9 @@ const session = await composio.create("user_123", {
394
</Tab>
395
</Tabs>
396
397
-Only one account per toolkit is allowed when [multi-account mode](/docs/managing-multiple-connected-accounts) is disabled.
397
+<Callout type="info">
398
+Arrays are the preferred format for `connectedAccounts`. A single string (e.g. `"ca_work_gmail"`) is still accepted for backwards compatibility and is automatically coerced to a single-element array. Only one account per toolkit is allowed when [multi-account mode](/docs/managing-multiple-connected-accounts) is disabled.
399
+</Callout>
400
401
### Precedence
402