Symptom
Every tool call fails validation. The message is 'Field required [type=missing, input_value={}, input_type=dict]', and the agent repeats until it hits max iterations.
Evidence what you'll see
- The report's tool error names
SearchUserKnowledgebaseToolSchemaand a missingsearch_query. The required schema is{"search_query": ...}and the value that arrived is{}. - The broken line in
crew_agent_executor.py, in_parse_native_tool_call, isfunc_args = func_info.get("arguments", "{}") or tool_call.get("input", {}). - The report's isolated example is a tool call
{"name": "my_tool", "input": {"search_query": "test"}, "toolUseId": "abc"}with nofunctionkey. The line above prints{}.
Why it happens
Some native tool calls put the arguments on input. This parser first looks under function for arguments. When there is no function key, func_info is {}, and dict.get("arguments", "{}") returns the default string "{}". That string is truthy, so the or never reads tool_call.get("input"). The tool then validates {} and every required field is missing. The detection of this tool-call shape succeeds. Only the argument copy fails. The report's one-line change is func_args = func_info.get("arguments") or tool_call.get("input") or "{}", so a missing arguments key is falsy and input is used.
Affected versions
CrewAI 1.11.0 and crewai-tools 1.11.0, macOS Monterey, Python 3.12, Poetry. The report says this is the native tool-calling path, taken when supports_function_calling() is true.
Fix steps
0 of 3 done
Your check marks stay in this browser only.
How to check it worked
- Run the report's isolated snippet. The fixed expression prints
{"search_query": "test"}, not{}. A tool with a required argument then returns a result on the first call instead of repeating the validation error.
If it still fails
- The close reason on the issue is stale, not a merged fix. The comment that names
25fcf39asks a maintainer to confirm it. The linked issue does not include that confirmation. - The landed line in the comment uses
tool_call.get("input", {}). The issue's suggested line usestool_call.get("input") or "{}". The linked issue does not say those two expressions were compared.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change
Hit an error we don't cover? Submit it