Extract Token-Minimal Markdown from .docx, .pptx, or .xlsx
extract_office_markdownAuto-detects .docx, .pptx, or .xlsx from OOXML structure and converts headings, lists, Word/PowerPoint tables, numerically ordered slides, speaker notes, and sparse Excel worksheets into compact GitHub-Flavored Markdown with token-savings telemetry. Pricing: $0.002 USD per Office document extraction (.docx, .pptx, or .xlsx) (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileBase64": "<fileBase64>"
},
"name": "extract_office_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileBase64 | Yes | Base64-encoded .docx, .pptx, or .xlsx OOXML file to convert into token-minimal Markdown. | |
| maxRowsPerSheet | No | Maximum non-empty rows emitted per .xlsx worksheet. | |
| includeSpeakerNotes | No | Include speaker notes from ppt/notesSlides/notesSlide*.xml when extracting .pptx presentations. |