https://www.boundaryml.com logo
Is there a way to use Gemini + Grounding with Goog...
# help
l
As per the [official docs](https://cloud.google.com/vertex-ai/generative-ai/docs/grounding/grounding-with-google-search#googlegenaisdk_tools_google_search_with_txt-drest), the body of the request needs a
tools
parameter. Can this be accomplished somehow with BAML?
a
you should be able to add this to the client options:
Copy code
options: {
  tools [{
    googleSearch {}
  }]
you can view the raw http request and responses if you setup a project at studio.boundaryml.com (note it's in beta)
v
(and also see it via the
raw curl
button in vs code extention as well!)
Copy code
client MyThing {
  provider "google-ai"
  options {
    ...
    tools [{
      googleSearch {}
    }]
  }
}