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, 22:00 UTC
fix: custom tool fetching in `tools.execute`
angrybayblade committed
Jul 24, 2025 at 14:20 UTC
85fb5ef63c44ce96907d5fea3320066130f42810
1 file changed
+1
-1
python/composio/core/models/tools.py
+1
-1
@@ -368,7 +368,7 @@ class Tools(Resource, t.Generic[TProvider]):
368
:return: The response from the tool.
369
"""
370
tool = self._tool_schemas.get(slug)
371
- if tool is None:
371
+ if tool is None and self._custom_tools.get(slug=slug) is not None:
372
tool = self._custom_tools[slug].info
373
self._tool_schemas[slug] = tool
374