Let the model retrieve live information from the web during a Responses API conversation.
Not yet available. The web search server tool is on the roadmap. The page below documents the intended behavior.
The web search server tool gives the model the ability to issue search queries and read results during a response. No client-side code is needed — OpenDunes handles the retrieval on the model's behalf.
Add the built-in web_search server tool to your tools array:
The model decides when to search. It issues one or more queries, reads the results, then synthesises an answer with citations.
When the model searches, the output array includes a web_search_call item followed by the assistant's message:
Web search can coexist with function definitions in the same tools array. The model chooses which tool to invoke based on the query.
Web search is billed as additional input tokens — each search result snippet is counted against your context. Billing is in DA per token, same as all other usage.
Search results are injected into the model's context. On long threads, be mindful that accumulated search results consume context budget. Use the max_tokens parameter if you need to cap output length.