@devries-cameron20 / composio Mirror · read-only / commits / cc2f25630
Fork 0

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 22, 03:15 UTC

docs: tighten workplace-search cookbook copy

Trim redundant USER_ID explanation and remove generic next step. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Sushmitha Mallesh committed Mar 11, 2026 at 02:38 UTC cc2f25630ac79b164562bb62f0e6e0fee8dca6fd
1 file changed +2 -3
docs/content/cookbooks/workplace-search.mdx
+2 -3
@@ -113,10 +113,9 @@ into two phases. The team agreed in the thread.
113 1. `authorize.py` connects each toolkit via OAuth using `session.authorize()` and `wait_for_connection()`. It checks `session.toolkits()` first to skip already-connected apps.
114 2. The session is created with four toolkits. Composio scopes all tool calls to the user's connected accounts.
115 3. The agent searches across apps, synthesizes results, and cites sources with links, channel names, or sender info.
116 -4. Changing `USER_ID` in `.env` switches to a different user's connections without touching the code.
116 +4. The `USER_ID` in `.env` scopes all connections — swap it to switch users without changing code.
117
118 ## Next steps
119
120 - Restrict to read-only tools with `tags` when creating the session. See [Enable and disable toolkits](/docs/toolkits/enable-and-disable-toolkits).
121 -- Wrap this in a FastAPI endpoint and pass `user_id` from your auth middleware.
122 -- Add more toolkits (Jira, Confluence, Linear) without changing the agent code.
121 +- Add more toolkits (Jira, Confluence, Linear) — no agent code changes needed.