Chat with Gemini using text and media
gemini_chatSend text plus multiple videos, images, or audio in one generateContent request, then continue saved chats by conversation ID for contextual follow-ups.
Instructions
Send text and multiple videos, images, or audio recordings in one generateContent request. To continue a saved conversation, send only new input with its conversationId. History is stored locally and sent with attachments to the configured provider on each turn.
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": "gemini_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Ordered local paths or objects with path, mimeType, and per-video fps/start/end. Native part metadata is supported. | |
| model | No | Provider model ID for this call. An explicit selection is pinned for the request. Otherwise the configured model applies. | |
| store | No | Defaults to true. Use false for a standalone request without saving any history. | |
| prompt | No | New message. Can be sent on its own. | |
| request | No | Native generateContent request fields and provider extensions, including tools, toolConfig, safetySettings, or cachedContent. Also accepts a complete request body. | |
| contents | No | Ordered native messages, e.g. [{role:"user",parts:[{text:"Image A"},{path:"/media/a.png"}]}]. Supports native parts including functionResponse, fileData, and inlineData. The server appends files and prompt afterward. | |
| resetSettings | No | Reset saved request options for this call while retaining history. | |
| conversationId | No | Active chat ID from create_chat, list_chats, or a previous response. Omit to start a new chat. | |
| reasoningLevel | No | Sets thinkingConfig.thinkingLevel. Supported levels depend on the selected model. | |
| generationConfig | No | Native generation parameters including temperature, topP, maxOutputTokens, thinkingConfig, responseMimeType, responseJsonSchema, responseModalities, speechConfig. | |
| systemInstruction | No | System instruction as text or a native Content object. | |
| includeRawResponse | No | Include the complete provider response in structuredContent.response. |