Does openai API support google search grounding?

I see that the tools element is supported in the openai API, but the docs only mention function calling.
When I add

“tools”: [
{“google_search”: {}}
]

to my payload, I get

Invalid JSON payload received. Unknown name “google_search” at ‘tools[0]’: Cannot find field.

Is there any way to use the google_search grounding?

Hi @Erki_Ehtla
Welcome to the AI Forum!!!

Grounding with Google search is not available when using OpenAI compatibility mode.
If you’re looking to implement similar functionality, you might consider integrating the Google Custom Search API directly into your application to perform web searches.