{
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000,
      "description": "What you want, e.g. \"Every morning at 8 UTC send me x402 news, and alert me if ETH goes above 5000\"."
    },
    "history": {
      "description": "Earlier turns of this conversation, oldest first.",
      "maxItems": 10,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string",
            "enum": [
              "user",
              "assistant"
            ]
          },
          "content": {
            "type": "string",
            "maxLength": 4000
          }
        },
        "required": [
          "role",
          "content"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "message"
  ],
  "additionalProperties": false
}