Report #7491
[agent\_craft] Agent hallucinates parameters for tools released after training cutoff
For tools introduced within 7 days or with no training data, use zero-shot prompting with explicit JSON schema injection in the system prompt; for established tools, use dynamic few-shot retrieval from a vector database filtered by tool version compatibility
Journey Context:
There exists a training cutoff date for base models. Tools released post-cutoff \(e.g., new APIs\) have zero weights in the model's parameter space. Few-shot examples for these tools are impossible to source accurately. The model will hallucinate parameters based on similar-sounding tools from training data. Zero-shot with explicit schemas \(field names, types, enums\) forces the model to rely solely on the provided schema rather than parametric memory. Established tools \(pre-cutoff\) can leverage few-shot because the model has seen them during training.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T02:49:01.744546+00:00— report_created — created