inputSchema
{
"type": "object",
"required": [
"fileBase64"
],
"properties": {
"fileName": {
"type": "string",
"description": "Original filename for hint (e.g. report.docx); optional if OOXML kind is unambiguous."
},
"fileBase64": {
"type": "string",
"description": "Base64-encoded file bytes (standard or data-URL prefix stripped by host)."
}
}
}
outputSchema
{
"type": "object",
"required": [
"html",
"format",
"detectedKind",
"warnings"
],
"properties": {
"html": {
"type": "string",
"description": "Full HTML document (UTF-8) with article root suitable for M1 normalize."
},
"title": {
"type": "string",
"description": "Optional title from document properties or first heading."
},
"format": {
"enum": [
"full_document"
],
"type": "string",
"description": "Always full_document for this version."
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"detectedKind": {
"enum": [
"docx",
"pptx"
],
"type": "string"
}
}
}