openai_chat
Sends messages to a specified OpenAI chat model and returns the completion, enabling users to run fast, reasoning, or deep-audit requests with GPT or o-series models.
Instructions
Use this tool when a user specifically requests to use one of OpenAI's models (gpt-6-astra, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, gpt-5.4, gpt-5.4-mini, gpt-5, gpt-5-mini, o3, o4-mini, gpt-4.1, gpt-4.1-mini, gpt-4o, gpt-4o-mini). This tool sends messages to OpenAI's chat completion API using the specified model.
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": {
"messages": "<messages>"
},
"name": "openai_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | Cost/quality tier: "fast" = gpt-5-mini, "reason" = gpt-5, "deep" = gpt-6-astra. Default "reason". Use "deep" (gpt-6-astra, expensive) only for critical audits; "fast" for trivial tasks. | reason |
| model | No | Optional exact model; overrides tier (gpt-6-astra, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, gpt-5.4, gpt-5.4-mini, gpt-5, gpt-5-mini, o3, o4-mini, gpt-4.1, gpt-4.1-mini, gpt-4o, gpt-4o-mini) | |
| messages | Yes | Array of messages to send to the API |