openai_create_chat_completion
Creates chat completions for OpenAI models across text and audio workflows by sending messages and optional audio, modality, response-format, temperature, and token settings.
Instructions
Call Chat Completions for models or audio workflows that require that API surface.
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": {
"model": "<model>",
"messages_json": "<messages_json>"
},
"name": "openai_create_chat_completion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| audio_json | No | ||
| temperature | No | ||
| messages_json | Yes | ||
| modalities_json | No | ||
| save_audio_output | No | ||
| response_format_json | No | ||
| max_completion_tokens | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||