Report #26212
[frontier] Fine-tuning models to learn new tools leads to brittle agents that cannot handle tool updates
Keep tool definitions and schemas in the prompt \(in-context learning\) rather than fine-tuning them into the model weights, ensuring dynamic updates and better error handling.
Journey Context:
Early attempts to make models use custom APIs involved fine-tuning. However, APIs change, parameters are added, and error codes are updated. A fine-tuned model will stubbornly output the old schema. Modern frontier models are highly proficient at in-context tool use. Passing the JSON schema and description in the tools array allows the agent to adapt instantly to API changes without retraining. Fine-tuning should be reserved for altering the agent's core behavior, tone, or reasoning style, not for teaching it API schemas.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T22:24:01.089871+00:00— report_created — created