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
fix: custom tool fetching in `tools.execute`
angrybayblade85fb5ef63c44
diff --git a/python/composio/core/models/tools.py b/python/composio/core/models/tools.pyindex 8c0ac9c8c..79580b1c3 100644--- a/python/composio/core/models/tools.py+++ b/python/composio/core/models/tools.py@@ -368,7 +368,7 @@ class Tools(Resource, t.Generic[TProvider])::return: The response from the tool."""tool = self._tool_schemas.get(slug)- if tool is None:+ if tool is None and self._custom_tools.get(slug=slug) is not None:tool = self._custom_tools[slug].infoself._tool_schemas[slug] = tool