chat
Send prompts to multiple AI models, preserve multi-turn conversation memory, and attach files or images for context.
Instructions
Multi-model AI gateway. Routes prompts to external AI models (Gemini, OpenAI, Anthropic, DeepSeek, Moonshot, xAI, OpenRouter, custom endpoints) with conversation memory. Supports file context embedding, images, and multi-turn threads via continuation_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Currently in auto model selection mode. If no model is provided, you may use the `listmodels` tool to review options and select an appropriate match. The server validates model availability and returns errors for unknown models. Top models: gemini-2.5-pro (score 100, 1.0M ctx, thinking, code-gen); gemini-3.1-pro-preview (score 100, 1.0M ctx, thinking, code-gen); gemini-2.5-flash (score 81, 1.0M ctx, thinking); gemini-2.0-flash (score 66, 1.0M ctx); gemini-2.0-flash-lite (score 56, 1.0M ctx). | |
| images | No | Image paths (absolute) or base64 strings for optional visual context. | |
| prompt | Yes | Your question or task for the external model. Prefer passing code and large content via absolute_file_paths rather than inlining it here. | |
| temperature | No | Optional sampling temperature. If omitted, the model's own default is used (recommended; some reasoning models reject or degrade on a fabricated value). Range is provider-dependent (commonly 0–2); values are clamped per model. | |
| thinking_mode | No | Reasoning depth: minimal, low, medium, high, or max. | |
| continuation_id | No | Unique thread continuation ID for multi-turn conversations. Works across different tools. Reuse the last continuation_id you were given to preserve full conversation context, files, and history across turns. Threads are held in memory and expire after inactivity. | |
| absolute_file_paths | No | Full, absolute file paths to relevant code in order to share with the external model. Accepts both files and directories (directories are expanded recursively). Content is read and embedded into the prompt context. |