Google-Suche
POST
/v1beta/models/gemini-2.5-flash:generateContent
tools.googleSearchaktivieren für Websuche und Antwortfundierung- Das Modell kann Echtzeitinformationen in Antworten einbeziehen
- Empfohlen: Suchfähige Modelle wie
gemini-2.5-flash - Offizielle Dokumentation: Grounding with Google Search
Authorizations
bearer
Type
HTTP (bearer)
Request Body
application/json
contents
object[]
Required
tools
object[]
Tools (inkl. googleSearch)
Responses
Erfolg
application/json
object