Google Ai Mode
google_ai_modeGet Google's AI-generated responses (AI Overviews) with source citations and reference links.
Two ways to call:
Text search — requires q.
Image analysis — requires url; optionally include q to ask a question about the image.
To ask a follow-up, pass the conversation_token from the previous response along with the next question in q. The answer then keeps the context of the earlier turns.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "google_ai_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search query for AI-generated response. Required if url not provided. Cannot exceed 8193 characters, fewer with url for non-Latin text. | |
| url | No | Public image URL. Required if q not provided. Include q to ask a specific question about the image. | |
| location | No | Geographic location for localized results. | |
| conversation_token | No | Continues a previous conversation. Pass the pagination.conversation_token returned by the last response together with the follow-up question in q. Omit it to start a new conversation. Cannot be combined with url. |