Report #3600
[research] Inventing non-existent API parameters or library methods for unfamiliar codebases
Force tool-use and API specification grounding. Do not allow the LLM to guess API signatures; require it to read the actual schema or docstring via a retrieval tool before generating the call.
Journey Context:
LLMs memorize popular APIs but hallucinate parameters for niche or newer libraries. Relying on parametric memory for API signatures is a known failure mode; dynamic retrieval from official documentation is necessary to ensure the code actually runs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T17:37:18.166530+00:00— report_created — created