Letta · Schema

UpdateAssistantMessage

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
message_type string
content object The message content sent by the assistant (can be a string or an array of content parts)
View JSON Schema on GitHub

JSON Schema

letta-updateassistantmessage-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpdateAssistantMessage",
  "title": "UpdateAssistantMessage",
  "properties": {
    "message_type": {
      "type": "string",
      "const": "assistant_message",
      "title": "Message Type",
      "default": "assistant_message"
    },
    "content": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/components/schemas/LettaAssistantMessageContentUnion"
          },
          "type": "array"
        },
        {
          "type": "string"
        }
      ],
      "title": "Content",
      "description": "The message content sent by the assistant (can be a string or an array of content parts)"
    }
  },
  "type": "object",
  "required": [
    "content"
  ]
}