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.

docs(python): remove server implementation details from use() docstring

Abir Taheer9c9c273ba1d9
diff --git a/python/composio/core/models/tool_router.py b/python/composio/core/models/tool_router.py
index 72fbd0c65..6365898ba 100644
--- a/python/composio/core/models/tool_router.py
+++ b/python/composio/core/models/tool_router.py
@@ -994,10 +994,9 @@ class ToolRouter(Resource, t.Generic[TTool, TToolCollection]):
"""
Retrieve and use an existing tool router session, optionally attaching custom tools.
- When ``custom_tools`` or ``custom_toolkits`` are provided, the SDK calls the
- v3.1 ``/attach`` endpoint which validates and registers them inline for this
- session without persisting them server-side. Without customs it falls back to
- the standard v3 retrieve endpoint.
+ When ``custom_tools`` or ``custom_toolkits`` are provided, the SDK
+ attaches them to the session so they are available for search and
+ execution. Without customs it simply rehydrates the existing session.
:param session_id: The session ID to retrieve
:param custom_tools: Optional custom tools to attach to the session.