Skip to content

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

fix: preserve Bedrock tool call arguments by removing truthy default

Yanhu25fcf39cc103
diff --git a/lib/crewai/src/crewai/agents/crew_agent_executor.py b/lib/crewai/src/crewai/agents/crew_agent_executor.py
index 909fa5c66..b98840cae 100644
--- a/lib/crewai/src/crewai/agents/crew_agent_executor.py
+++ b/lib/crewai/src/crewai/agents/crew_agent_executor.py
@@ -827,7 +827,7 @@ class CrewAgentExecutor(BaseAgentExecutor):
func_name = sanitize_tool_name(
func_info.get("name", "") or tool_call.get("name", "")
)
- func_args = func_info.get("arguments", "{}") or tool_call.get("input", {})
+ func_args = func_info.get("arguments") or tool_call.get("input", {})
return call_id, func_name, func_args
return None