Parse a document into a spec
parse_documentParse base64-encoded Excel (.xlsx) files into a structured JSON spec, preserving data and headers. Note: pptx/docx parsing is not supported.
Instructions
Read an existing file (base64) back into a spec. v1 supports xlsx (data + headers). pptx/docx high-fidelity parsing is deferred to a future Python worker and will error here.
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": {
"format": "<format>",
"bytes_base64": "<bytes_base64>"
},
"name": "parse_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | xlsx | pptx | docx | |
| bytes_base64 | Yes | The file bytes, base64-encoded. |