gemini_chat_with_tools
Chat with Gemini using modes: search (Google Search + URL context), code (code execution), or all (everything) to get answers, run code, or browse the web.
Instructions
Flexible Gemini chat with mode switching: "search" (Google Search + URL context), "code" (code execution), or "all" (everything)
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_chat_with_tools"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Tool mode: "search" (default) = Google Search + URL context, "code" = code execution, "all" = everything | |
| model | No | Model name (default: gemini-3.1-pro-preview) | |
| prompt | Yes | The prompt to send | |
| systemInstruction | No | System instruction |