lm_openai_chat
Send OpenAI-compatible chat requests with explicit message history, JSON schema and function definitions. Returns tool calls, never executes them.
Instructions
OpenAI-compatible chat, explicit message history, JSON schema and function definitions. Returns tool calls; never executes them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| tools | No | ||
| messages | Yes | ||
| max_tokens | No | ||
| temperature | No | ||
| tool_choice | No | ||
| response_format | No |