Report #50695
[synthesis] Model hallucinates data or claims success when a tool returns an empty JSON object or empty string
Never return empty strings or \`\{\}\` from tool executions. Always return a semantically explicit string like \`"No results found"\` or \`"Success: 0 items affected"\`.
Journey Context:
GPT-4o interprets an empty tool response as a failure of the tool to communicate and will often confabulate a plausible result to continue the conversation. Claude handles empty responses more gracefully but may still assume implicit success. Gemini might error out. Returning explicit null-state messages prevents the model from filling the informational void with hallucinations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T15:34:37.278021+00:00— report_created — created