Enable it

agent.addTool(GoogleSearchTool.builder()
    .projectId("my-gcp-project")
    .location("us-central1")
    .build());
Advertisement

What it returns

Not raw HTML. The tool returns a structured snippet + citation URLs the model can reference in its response.

Advertisement

Latency profile

500-1500ms typical. Faster than orchestrating your own scrape. Use for factual questions where recency matters.