Files
crewAI/lib/crewai/tests
Devin AI 9900a79546 fix: Bedrock tool calls extract empty arguments - uses wrong field name
Fix argument extraction for AWS Bedrock tool calls in
_parse_native_tool_call. The old code used
func_info.get('arguments', '{}') which always returns the truthy
string '{}', preventing the 'or' fallback from ever reaching
tool_call.get('input', {}). This caused all Bedrock tool calls to
receive empty arguments regardless of what the LLM provides.

Changed to func_info.get('arguments') or tool_call.get('input') or {}
which correctly falls through to the Bedrock 'input' field when
'arguments' is not present.

Fixes #4748

Co-Authored-By: João <joao@crewai.com>
2026-03-06 15:44:10 +00:00
..
2026-03-04 00:45:09 -05:00
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2026-02-13 21:34:37 -03:00
2025-10-20 14:10:19 -07:00
2026-02-13 21:34:37 -03:00
2025-12-04 13:34:29 -08:00
2025-10-20 14:10:19 -07:00
2026-02-13 21:34:37 -03:00
2025-12-01 18:56:56 -05:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00