Create Response (v4)
lyzr_create_response_v4Generate model responses through the v4 endpoint by providing a prompt or structured inputs, with support for tools, streaming, and reasoning options.
Instructions
OpenAI-compatible v4 responses endpoint (model + input + tools).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text output format options | |
| user | No | End-user identifier | |
| input | Yes | A plain text prompt, or a list of structured input items | |
| model | Yes | The model name | |
| store | No | Whether to store the response (default true) | |
| tools | No | Tool definitions | |
| top_p | No | Top-p | |
| stream | No | Whether to stream (default false) | |
| include | No | Additional fields to include in the response | |
| reasoning | No | Reasoning options | |
| truncation | No | Truncation strategy | |
| temperature | No | Sampling temperature | |
| tool_choice | No | Tool choice strategy | |
| instructions | No | System instructions | |
| max_output_tokens | No | Max output tokens | |
| previous_response_id | No | Previous response id to continue from |