Skip to main content
Glama

doc2x_convert_export_submit

Convert parsed PDF documents to structured formats like Markdown, LaTeX, or DOCX for further editing and processing.

Instructions

Start an export (convert) job for a parsed PDF uid. After this, poll with doc2x_convert_export_wait or doc2x_convert_export_result. Do NOT call doc2x_convert_export_submit twice for the same uid+format in parallel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uidYesDoc2x parse task uid returned by doc2x_parse_pdf_submit.
toYes
formula_modeYes
filenameNoOptional output filename (for md/tex only). Tip: pass a basename WITHOUT extension to avoid getting 'name.md.md' / 'name.tex.tex'.
filename_modeNoHow to treat filename. 'auto' strips common extensions for the target format; 'raw' passes basename as-is.
merge_cross_page_formsNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NoEdgeAI/doc2x-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server