@devries-cameron20 / composio Mirror · read-only / commits / 2d07d26f5
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 21, 22:15 UTC

docs: update session use attach changeset

Abir Taheer committed May 7, 2026 at 02:12 UTC 2d07d26f527d2a2afbc4ff3ecbac4fd8f7f25ca8
1 file changed +1 -1
.changeset/v31-customs-use-attach.md
+1 -1
@@ -4,6 +4,6 @@
4
5 Add custom tools support to `composio.use()`.
6
7 -- **`composio.use(id, { customTools, customToolkits })`**: Attach custom tools to an existing session. Binds local tools for search and execution. When called without custom tools, falls back to the standard session retrieve.
7 +- **`composio.use(id, { customTools, customToolkits })`**: Attach to an existing session through the v3.1 attach endpoint. When custom tools are provided, binds local tools for search and execution; when called without custom tools, it still uses attach with an empty body so session reuse has one backend path.
8 - **Inline custom tools payload**: `use()` now correctly passes `inlineCustomToolsPayload` and `preloadedCustomToolSlugs` to the session, enabling custom tool execution and preloading on rehydrated sessions.
9 - **`CustomToolsMap.tools`**: The map now caches the raw `CustomTool[]` array for future inline re-injection on v3.1 search/execute requests.