diff --git a/src/crewai/tools/tool_usage.py b/src/crewai/tools/tool_usage.py index 874e4eb9f..883d6f1ef 100644 --- a/src/crewai/tools/tool_usage.py +++ b/src/crewai/tools/tool_usage.py @@ -105,7 +105,7 @@ class ToolUsage: self._printer.print(content=f"\n\n{error}\n", color="red") return error - if isinstance(tool, CrewStructuredTool) and tool.name == 'Add image to content': + if isinstance(tool, CrewStructuredTool) and tool.name == self._i18n.tools("add_image")["name"]: try: result = self._use(tool_string=tool_string, tool=tool, calling=calling) return result