MiConvert File Converter

v1.0.1
com.miconvert/file-converter Checked 1 day ago Published 29 days ago

Convert files by URL: OFD→PDF, 3D/CAD (STEP, STL, GLB), images, audio, video, documents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_supported_formats List supported formats

List the formats MiConvert converts between. With `from`, returns the target formats for that source format; without it, returns every source format. Use it to check that a conversion exists before calling convert_file.

ParameterTypeDescription
fromstringSource format extension, e.g. "ofd", "heic", "step". Optional.

convert_file Convert a file

Convert a file to another format, e.g. OFD→PDF, HEIC→JPG, STEP→STL, WEM→MP3, DOCX→PDF. Give either a public file_url or, in ChatGPT, the attached file as `file`. Downloads the file, converts it, and returns a download link (valid ~4 hours). Most conversions finish within the call; if not, the result has status "processing" and a job_id for get_conversion_status. Up to 50 MB.

ParameterTypeDescription
to *stringTarget format extension, e.g. "pdf", "jpg", "stl", "mp3".
fileobjectA file the user attached in ChatGPT. ChatGPT fills this in; other clients use file_url.
file_urlstringPublic http(s) URL of the file to convert. Google Drive and Dropbox share links work. Leave out when passing `file`.
filenamestringName for the file, with extension, e.g. "invoice.ofd". Optional.
fromstringSource format extension. Only needed when the URL and filename do not end in one.

get_conversion_status Get conversion status

Check a conversion started by convert_file that was still processing, and get its download links once complete. Waits up to ~25 seconds for the job to finish.

ParameterTypeDescription
job_id *stringThe job_id returned by convert_file.