Agent FixboardAgentFixboard

Every tool call arrives with empty arguments and fails validation

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.

From GitHub

crewAIInc/crewAI

Difficulty
Moderate
Time
~15 min
Steps
3
Fixed in
—
Last checked

No upstream fix: these steps work around it. Source: issue closed (not planned) without a merged fix. Last checked 2026-10-25.

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 SearchUserKnowledgebaseToolSchema and a missing search_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, is func_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 no function key. 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 25fcf39 asks 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 uses tool_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