Report #78410
[counterintuitive] Prompting 'Search the web for X and summarize' or 'Run this code' without providing a tool/API
Implement a tool-use loop where the model generates a tool call, an executor runs the API, and the results are fed back to the model.
Journey Context:
Early models sometimes had built-in browsing that could be triggered by prompts, leading to folklore that you could just ask them to browse. For API users, prompting a model to 'search' without a tool just causes it to hallucinate search results or use outdated training data. Modern agentic coding requires explicit tool definitions \(function calling\) to grant the model access to external data or execution environments. The model decides \*when\* to call the tool, but the application must actually execute it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T14:12:24.503074+00:00— report_created — created