Button to toggle native Web Search tools for OpenAI, Gemini, Anthropic

Would be great to have a button similar to the “Thinking Mode” to toggle the use of server-side web search tools already available for all major LLM providers. See:

openai: https://platform.openai.com/docs/guides/tools-web-search?api-mode=responses

gemini: https://ai.google.dev/gemini-api/docs/google-search

anthropic: https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool

Right now to use this feature we have to duplicate each model and add a custom body parameter. It’s much cleaner to toggle web search on demand than have every model duplicated.

Moreover, there are other providers which also offer server-side web search: xAI, Open Router, Groq and probably many others. Given how common web search has become, we could even have a couple of special input fields when adding a custom model to fill the name and value of the web search tool, and in that way be able to use the same toggle button.

This post was merged into

Go to new post
Date

4 months ago