Files
crewAI/lib
Devin AI 58fc43cd98 fix: extract Bedrock Converse API tool arguments from 'input' key (#4972)
The dict branch in _parse_native_tool_call used a truthy default '{}' for
func_info.get('arguments', '{}'), which prevented the or-chain from ever
reaching tool_call.get('input'). Bedrock returns tool calls as
{name, input, toolUseId} dicts (no 'function' key), so every tool call
received an empty dict instead of its actual arguments.

Fix: remove the default from get('arguments') so it returns None (falsy)
when the key is absent, allowing the fallback to 'input'.

Co-Authored-By: João <joao@crewai.com>
2026-03-20 05:25:48 +00:00
..