morpheus_chat
Send OpenAI-style messages to generate chat completions, optionally with tool calls, returning assistant content and tool calls as JSON.
Instructions
Call Morpheus OpenAI-compatible chat/completions.
Pass messages (OpenAI shape). Model defaults to MORPHEUS_MODEL_DEFAULT when omitted. Optional tools / tool_choice for models that support tool_calls. Returns JSON with assistant content and tool_calls if any.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| tools | No | ||
| messages | Yes | ||
| max_tokens | No | ||
| temperature | No | ||
| tool_choice | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |