Merge · Schema

OutputMessage

An output message from the assistant.

IntegrationsPlatformUnified APIAgent HandlerLLM Gateway

Properties

Name Type Description
id string
type string
role string
finish_reason object
content array
View JSON Schema on GitHub

JSON Schema

merge-outputmessage-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OutputMessage",
  "title": "OutputMessage",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "message"
      ]
    },
    "role": {
      "type": "string",
      "enum": [
        "assistant"
      ]
    },
    "finish_reason": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/OutputMessageFinishReason"
        },
        {
          "type": "null"
        }
      ]
    },
    "content": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/OutputMessageContentItems"
      }
    }
  },
  "required": [
    "id",
    "content"
  ],
  "description": "An output message from the assistant."
}