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
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Abir Taheer committed
May 6, 2026 at 21:43 UTC
9c9c273ba1d994ef31e48271993890c70616bb51
1 file changed
+3
-4
python/composio/core/models/tool_router.py
+3
-4
@@ -994,10 +994,9 @@ class ToolRouter(Resource, t.Generic[TTool, TToolCollection]):
994
"""
995
Retrieve and use an existing tool router session, optionally attaching custom tools.
996
997
- When ``custom_tools`` or ``custom_toolkits`` are provided, the SDK calls the
998
- v3.1 ``/attach`` endpoint which validates and registers them inline for this
999
- session without persisting them server-side. Without customs it falls back to
1000
- the standard v3 retrieve endpoint.
997
+ When ``custom_tools`` or ``custom_toolkits`` are provided, the SDK
998
+ attaches them to the session so they are available for search and
999
+ execution. Without customs it simply rehydrates the existing session.
1000
1001
:param session_id: The session ID to retrieve
1002
:param custom_tools: Optional custom tools to attach to the session.