{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://xevyo.local/spec/example_input.schema.json", "title": "xevyo-01 example input", "description": "What the calling application knows about one turn before the planner runs, and what every training/eval example stores next to its plan. The prompt renderer turns it into the chat messages the model reads. No user ids, no memory contents, no document text: the planner sees flags, not data.", "type": "object", "additionalProperties": false, "required": [ "message", "history", "attached_image", "remembered_image", "document_attached", "memory_enabled", "signed_in", "api_client", "offered_tools", "locale" ], "properties": { "message": { "description": "The user's latest message as typed. render clips it to its head and tail.", "type": "string", "minLength": 1, "maxLength": 100000 }, "history": { "description": "Earlier turns of this chat, oldest first, user and assistant only. render keeps the last 8 and clips each.", "type": "array", "maxItems": 200, "items": { "type": "object", "additionalProperties": false, "required": [ "role", "content" ], "properties": { "role": { "description": "Who said it.", "enum": [ "user", "assistant" ] }, "content": { "description": "What was said, as plain text (inline images already stripped).", "type": "string", "maxLength": 100000 } } } }, "attached_image": { "description": "THIS message carries an uploaded image.", "type": "boolean" }, "remembered_image": { "description": "The chat's remembered image: null for none, else the last generated image's prompt, or exactly 'the image you uploaded' when the remembered image is an earlier upload.", "type": [ "string", "null" ], "maxLength": 120 }, "document_attached": { "description": "A document is attached to this message or the chat has document context (attached_document_ids / build_document_context).", "type": "boolean" }, "memory_enabled": { "description": "The user's Memory switch is on (owui_settings.read_memory_switch). False also when the switch could not be read.", "type": "boolean" }, "signed_in": { "description": "An authenticated user (user_id != 'anonymous'). Memory commands and memory cards need it.", "type": "boolean" }, "api_client": { "description": "The chat came through a developer API key (request_intent.is_api_key_client): documents only on an explicit file request.", "type": "boolean" }, "offered_tools": { "description": "Tool names bound this turn (tools.json names), after user switches, health, calculator scope and Google connection. Only these may appear in plan.tools.", "type": "array", "uniqueItems": true, "maxItems": 40, "items": { "type": "string", "pattern": "^[a-z][a-z0-9_]{1,63}$" } }, "locale": { "description": "The client's locale (e.g. en-IN, hi-IN), or null when unknown. Context only.", "type": [ "string", "null" ], "maxLength": 20 } } }