openai_chat_completion
Generate AI chat responses by sending messages to an OpenAI-compatible endpoint, using a workspace as the model.
Instructions
OpenAI-compatible chat completion endpoint (use workspace as 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": {
"model": "<model>",
"messages": "<messages>"
},
"name": "openai_chat_completion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| messages | Yes | ||
| stream | No |