gemini_chat
Generate text and analyze files (images, audio, video, PDF, Office, CSV, text) with Gemini models, plus optional Google Search, URL context, code execution, and JSON schema.
Instructions
Generate text with Gemini or analyze files (images, audio, video, PDF, Office, CSV, text).
model: default in list_capabilities; e.g. gemini-4-carbon (smartest), gemini-4-neon, gemini-4-argon, gemini-4-hydrogen, gemini-3.8-flash, gemini-3.5-flash-lite (cheapest). files: absolute paths of files to analyze. google_search / url_context / code_execution / google_maps: built-in tools. json_schema: return structured JSON matching this schema. previous_interaction_id: continue a conversation from an earlier interaction_id. thinking_level: minimal, low, medium, high or xhigh (depth = cost/latency). max_output_tokens: output cap. tools: raw tool definitions appended to the built-ins.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| model | No | ||
| tools | No | ||
| prompt | Yes | ||
| google_maps | No | ||
| json_schema | No | ||
| url_context | No | ||
| google_search | No | ||
| code_execution | No | ||
| thinking_level | No | ||
| max_output_tokens | No | ||
| system_instruction | No | ||
| previous_interaction_id | No |