Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
docs: tighten workplace-search cookbook copy
Sushmitha Malleshcc2f25630ac7
diff --git a/docs/content/cookbooks/workplace-search.mdx b/docs/content/cookbooks/workplace-search.mdxindex 690340c53..c7d01efa4 100644--- a/docs/content/cookbooks/workplace-search.mdx+++ b/docs/content/cookbooks/workplace-search.mdx@@ -113,10 +113,9 @@ into two phases. The team agreed in the thread.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.2. The session is created with four toolkits. Composio scopes all tool calls to the user's connected accounts.3. The agent searches across apps, synthesizes results, and cites sources with links, channel names, or sender info.-4. Changing `USER_ID` in `.env` switches to a different user's connections without touching the code.+4. The `USER_ID` in `.env` scopes all connections — swap it to switch users without changing code.## Next steps- Restrict to read-only tools with `tags` when creating the session. See [Enable and disable toolkits](/docs/toolkits/enable-and-disable-toolkits).-- Wrap this in a FastAPI endpoint and pass `user_id` from your auth middleware.-- Add more toolkits (Jira, Confluence, Linear) without changing the agent code.+- Add more toolkits (Jira, Confluence, Linear) — no agent code changes needed.