openai_chat_completions
Generate AI chat responses using OpenAI-compatible APIs. Send messages to AI models for conversational interactions, content creation, and automated responses through the RanchHand MCP server.
Instructions
Create chat completion (POST /v1/chat/completions).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_tokens | No | ||
| messages | Yes | ||
| model | No | ||
| stream | No | ||
| temperature | No | ||
| top_p | No |
Input Schema (JSON Schema)
{
"properties": {
"max_tokens": {
"type": "number"
},
"messages": {
"type": "array"
},
"model": {
"type": "string"
},
"stream": {
"type": "boolean"
},
"temperature": {
"type": "number"
},
"top_p": {
"type": "number"
}
},
"required": [
"messages"
],
"type": "object"
}