{
  "type": "text",
  "description": "Static or dynamic text display.",
  "hasChildren": false,
  "propsSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
      "value": {
        "default": "",
        "description": "The text value to display. Supports $param_name and {{udf_name}} placeholders that are substituted before display.",
        "type": "string"
      },
      "sql": {
        "description": "DuckDB SQL query with {{udf_name}} and $param_name placeholders (e.g., SELECT COUNT(*) as count FROM {{my_udf}}). Returns first row's first column value. Highest priority.",
        "type": "string"
      },
      "variant": {
        "default": "default",
        "description": "Text style variant",
        "type": "string",
        "enum": [
          "default",
          "muted",
          "small",
          "large",
          "h1",
          "h2",
          "h3",
          "h4"
        ]
      },
      "style": {
        "description": "Inline CSS styles as a plain CSS string (e.g., \"color: red; font-size: 16px\")",
        "type": "string"
      }
    },
    "description": "Displays text values. Can show static values, dynamic values from message parameters, or results from DuckDB SQL queries. Priority: sql > value."
  }
}
