Letta · Schema

TextContent

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
type string The type of the message.
text string The text content of the message.
signature object Stores a unique identifier for any reasoning associated with this text content.
View JSON Schema on GitHub

JSON Schema

letta-textcontent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TextContent",
  "title": "TextContent",
  "properties": {
    "type": {
      "type": "string",
      "const": "text",
      "title": "Type",
      "description": "The type of the message.",
      "default": "text"
    },
    "text": {
      "type": "string",
      "title": "Text",
      "description": "The text content of the message."
    },
    "signature": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Signature",
      "description": "Stores a unique identifier for any reasoning associated with this text content."
    }
  },
  "type": "object",
  "required": [
    "text"
  ]
}