messagesarray<object>ErforderlichGLM 5.3 Flash nimmt Text sowie image_url- und video_url-Teile an; laden Sie MP4- oder WebM-Videos mit insgesamt höchstens 14 MB hoch und extrahieren Sie PDF-Text, da Datei- und Audioteile hier nicht angenommen werden. Halten Sie den Dialog mit GLM 5.3 Flash innerhalb von 256 Nachrichten und stellen Sie die Entwicklungsvorgaben vor das Prüfmaterial. Für Screenshots in GLM 5.3 Flash darf image_url eine öffentliche HTTPS-URL, ein hochgeladenes Bild oder eine Data-URI enthalten; Bild- und Videonutzung wird zum normalen Eingabe-Token-Tarif abgerechnet, wobei bis zur Verbrauchsabrechnung das gesamte Eingabefenster reserviert wird.
- Standardwert
- Nicht festgelegt
- Einschränkungen
- minItems:1maxItems:256
messages[].rolestringIm Objekt erforderlichRole of the message author.
- Standardwert
- Nicht festgelegt
- Zulässige Werte
"system""developer""user""assistant""tool"
messages[].namestringOptionalOptional name identifying the speaker within its role.
- Standardwert
- Nicht festgelegt
messages[].contentstring | array | nullOptionalMessage content, either plain text or a list of content parts.
- Standardwert
- Nicht festgelegt
{
"type": [
"string",
"array",
"null"
],
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"text"
],
"properties": {
"text": {
"type": "string"
},
"type": {
"const": "text"
}
}
},
{
"type": "object",
"required": [
"type",
"image_url"
],
"properties": {
"type": {
"const": "image_url"
},
"image_url": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string"
}
}
}
}
},
{
"type": "object",
"required": [
"type",
"video_url"
],
"properties": {
"type": {
"const": "video_url"
},
"video_url": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string"
}
}
}
}
}
]
},
"description": "Message content, either plain text or a list of content parts."
}messages[].tool_callsarray<object>OptionalTool calls the assistant requested in this message.
- Standardwert
- Nicht festgelegt
messages[].tool_call_idstringOptionalIdentifier of the tool call this message answers. Required on tool messages.
- Standardwert
- Nicht festgelegt
messages[].reasoning_contentstringOptionalReasoning text from a previous assistant reply, preserved when continuing a tool conversation.
- Standardwert
- Nicht festgelegt
{
"type": "array",
"x-ui": {
"order": 100,
"widget": "chat-messages",
"primary": true
},
"items": {
"type": "object",
"allOf": [
{
"if": {
"required": [
"reasoning_content"
]
},
"then": {
"properties": {
"role": {
"const": "assistant"
}
}
}
}
],
"required": [
"role"
],
"properties": {
"name": {
"type": "string",
"description": "Optional name identifying the speaker within its role."
},
"role": {
"enum": [
"system",
"developer",
"user",
"assistant",
"tool"
],
"type": "string",
"description": "Role of the message author."
},
"content": {
"type": [
"string",
"array",
"null"
],
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"text"
],
"properties": {
"text": {
"type": "string"
},
"type": {
"const": "text"
}
}
},
{
"type": "object",
"required": [
"type",
"image_url"
],
"properties": {
"type": {
"const": "image_url"
},
"image_url": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string"
}
}
}
}
},
{
"type": "object",
"required": [
"type",
"video_url"
],
"properties": {
"type": {
"const": "video_url"
},
"video_url": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string"
}
}
}
}
}
]
},
"description": "Message content, either plain text or a list of content parts."
},
"tool_calls": {
"type": "array",
"items": {
"type": "object"
},
"description": "Tool calls the assistant requested in this message."
},
"tool_call_id": {
"type": "string",
"description": "Identifier of the tool call this message answers. Required on tool messages."
},
"reasoning_content": {
"type": "string",
"description": "Reasoning text from a previous assistant reply, preserved when continuing a tool conversation."
}
},
"additionalProperties": false
},
"maxItems": 256,
"minItems": 1,
"description": "Conversation history in order, oldest message first."
}