diff --git a/src/crewai/tools/tool_usage.py b/src/crewai/tools/tool_usage.py index 703baf76a..0d162b1f4 100644 --- a/src/crewai/tools/tool_usage.py +++ b/src/crewai/tools/tool_usage.py @@ -297,6 +297,8 @@ class ToolUsage: # For other tools, check all arguments return ( calling.tool_name == last_tool_usage.tool_name + and calling.arguments is not None + and last_tool_usage.arguments is not None and calling.arguments == last_tool_usage.arguments ) return False