Shaun Wild
08/10/2025, 3:55 PMShaun Wild
08/10/2025, 3:58 PMPavel Gorgulov
08/10/2025, 4:11 PMShaun Wild
08/10/2025, 4:50 PMShaun Wild
08/10/2025, 4:50 PMPavel Gorgulov
08/10/2025, 6:47 PMSo I need to use a model which has web search built in?What you sent via the link above, yes, that’s currently the only way to use the built-in tool. These are tools provided directly by the provider itself, in this case OpenAI. In Koog, you need to use
gpt-4o-search-preview
. There’s no predefined model like that, but you can create one using the LLModel
class
Or build a custom tool/MCP to handle itThat’s also possible, but it’s a different approach. You can use a custom tool, but for that you’d need to implement a search engine (not web search from openai). With MCP, it’s roughly the same, you’d need the corresponding MCP server
Shaun Wild
08/10/2025, 7:20 PMShaun Wild
08/10/2025, 7:30 PMShaun Wild
08/10/2025, 7:30 PMShaun Wild
08/10/2025, 7:34 PMShaun Wild
08/10/2025, 7:34 PMShaun Wild
08/10/2025, 7:43 PMShaun Wild
08/11/2025, 4:31 PM