Ask ChatGPT
chatgpt_askSend a message to ChatGPT or the default AI and get its reply for a second opinion; reuse conversation_id for multi-turn chats and include all context since the AI cannot see this chat.
Instructions
Send a message to ChatGPT (or the bridge's default AI) and get its reply. Use this when the user asks to 'ask ChatGPT' or wants a second model's view. For a multi-turn chat, pass the same conversation_id on every call. To ask a different AI by name (Gemini, Grok, Claude, DeepSeek...), use ai_ask instead. The other AI cannot see this conversation, so include all the context it needs.
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": {
"message": "<message>"
},
"name": "chatgpt_ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Optional paths of text/code files to share with the AI (only inside ALLOWED_FILE_DIRS). | |
| model | No | Model ID for the chosen provider, e.g. 'gpt-5.6-sol' or 'gemini-3.8-flash'. You can also write 'provider:model', e.g. 'xai:grok-4.6'. Leave empty to use that provider's default. | |
| message | Yes | The message to send. Include all needed context: the AI cannot see this chat. | |
| provider | No | Which AI to ask: openai (ChatGPT), anthropic (Claude), gemini, xai (Grok), deepseek, mistral, meta (Llama), perplexity, moonshot (Kimi), qwen, cohere, groq, openrouter, ollama or lmstudio. Leave empty for the default. Run ai_list_providers to see which are configured. | |
| temperature | No | Creativity, 0 to 2. Lower is more focused. Some reasoning models ignore this; the bridge drops it automatically. | |
| system_prompt | No | Optional instructions for the AI's role or style. Only applied when a conversation starts. | |
| conversation_id | No | Optional thread ID. Reuse it to continue a conversation; use a new value (e.g. 'research-1') to start one. Letters, numbers, '-' and '_' only. A thread remembers which AI it is with. | |
| reasoning_effort | No | For reasoning models only: how hard the model should think. Higher is slower and more expensive. | |
| max_output_tokens | No | Upper limit on the length of ChatGPT's reply, in tokens. |