Before you start
Step-by-step workflow
Open the document conversion workflow
In Claude, open the Medux document conversion tool and describe the result you need. The tutorial starts with a DOCX file and asks Medux to return a PDF.
Use Medux to convert "Artificial Intelligence and Transformer Models.docx" to a PDF file. Upload the file using curl.
Let Claude select the right Medux tool
Claude inspects the available Medux actions and prepares the conversion workflow. Approve the requested tool calls so it can create an upload URL and continue.
Approve only the Medux actions required for upload, conversion, status checks, and result retrieval.
Create an upload URL
Medux returns a temporary upload destination. Claude then prepares a curl command for the source DOCX file. Temporary upload URLs normally expire, so run the command promptly.
curl --request PUT \
--upload-file "./Artificial Intelligence and Transformer Models.docx" \
"<MEDUX_TEMPORARY_UPLOAD_URL>"
Upload the source document
Run the generated curl command in your terminal. A successful upload makes the DOCX available to the Medux conversion task without manually moving it through another dashboard.
curl --request PUT \
--upload-file "./Artificial Intelligence and Transformer Models.docx" \
"<MEDUX_TEMPORARY_UPLOAD_URL>"
Start the DOCX-to-PDF conversion
Return to Claude after the upload completes. Claude submits the uploaded document to Medux, selects PDF as the target format, and starts the conversion job.
Source format: DOCX
Target format: PDF
Task: Convert the uploaded document
Wait for the task to finish
Claude checks the Medux task status until the conversion is complete. There is no need to repeatedly download or re-upload the document while the job is running.
Status flow: queued → processing → completed
Download the converted PDF
When Medux returns the output URL, download the PDF with curl. Use -L so redirects are followed, and choose a clear local filename with -o.
curl -L "<MEDUX_OUTPUT_URL>" \
-o "Artificial Intelligence and Transformer Models.pdf"
Workflow at a glance
Ready to use the result
Open the downloaded PDF and verify the layout, text, images, and page count. The conversion is now complete, and the file can be shared, archived, or used in a larger agent workflow.
Explore related workflows
Continue with a nearby Medux workflow or compare how the same task works across Claude MCP and Codex MCP.