{
  "type": "object",
  "properties": {
    "secret": {
      "type": "string",
      "minLength": 16,
      "maxLength": 200,
      "description": "Your private memory secret (16+ chars). The same secret always opens the same memory; share it to share memory between agents. Keep it secret: anyone with it can read and write."
    },
    "key": {
      "description": "Get this key.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^[\\x20-\\x7e]+$"
    },
    "prefix": {
      "description": "List keys starting with this, e.g. \"user:42:\".",
      "type": "string",
      "maxLength": 200
    },
    "search": {
      "description": "Find keys whose key or value contains this text (case-insensitive).",
      "type": "string",
      "minLength": 2,
      "maxLength": 100
    },
    "limit": {
      "description": "Max items for list/search (default 50).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "secret"
  ],
  "additionalProperties": false
}