Gemini Query Tool
gemini_query_toolSend a prompt to Gemini and optionally ground responses with Google Search results.
Instructions
Query Gemini with a prompt. Supports Google Search grounding.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "gemini_query_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model to use ('pro' or 'flash'). | flash |
| prompt | Yes | The prompt to send to Gemini. | |
| use_google_search | No | Ground response with Google Search results. | |
| system_instruction | No | Optional system instruction to guide the response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||