changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "FileMeta": {
+ "additionalProperties": false,
+ "description": "Public-facing metadata for one file the caller owns.\n\n`file_id` is an opaque string — never a raw DB primary key path or\nfilesystem path — so a compromised token can't be used to probe\ninternal storage layout.",
+ "properties": {
+ "chunk_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Chunk Count"
+ },
+ "demo_mode": {
+ "default": false,
+ "title": "Demo Mode",
+ "type": "boolean"
+ },
+ "file_id": {
+ "minLength": 1,
+ "title": "File Id",
+ "type": "string"
+ },
+ "file_type": {
+ "enum": [
+ "csv",
+ "xlsx",
+ "pdf",
+ "docx",
+ "txt",
+ "image",
+ "other"
+ ],
+ "title": "File Type",
+ "type": "string"
+ },
+ "filename": {
+ "title": "Filename",
+ "type": "string"
+ },
+ "row_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Row Count"
+ },
+ "uploaded_at": {
+ "format": "date-time",
+ "title": "Uploaded At",
+ "type": "string"
+ }
+ },
+ "required": [
+ "file_id",
+ "filename",
+ "file_type",
+ "uploaded_at"
+ ],
+ "title": "FileMeta",
+ "type": "object"
+ }
+ },
+ "additionalProperties": false,
+ "description": "Return type for `analyze_file`.\n\nMARKET-17 S5b-4: `narrative` is the web My Files engine's answer when\n`data_status == \"ok\"`, else a clear message. `citations` = the file the\nanswer is about. `chart` stays None (the engine's chart isn't safe to\nread from the shared agent). `confidence` is None unless real.",
+ "properties": {
+ "chart": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Chart"
+ },
+ "citations": {
+ "items": {
+ "$ref": "#/$defs/FileMeta"
+ },
+ "title": "Citations",
+ "type": "array"
+ },
+ "confidence": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Confidence"
+ },
+ "data_status": {
+ "default": "ok",
+ "enum": [
+ "ok",
+ "limit",
+ "timeout",
+ "busy",
+ "unavailable",
+ "not_found",
+ "invalid",
+ "signed_out"
+ ],
+ "title": "Data Status",
+ "type": "string"
+ },
+ "narrative": {
+ "title": "Narrative",
+ "type": "string"
+ }
+ },
+ "required": [
+ "narrative"
+ ],
+ "title": "AnalysisResult",
+ "type": "object"
+}