Create a conversion job
create_conversionQueue an asynchronous conversion job from a previously uploaded file id and reserve the required credits. Use mode "standard" for fast Markdown extraction, "ocr" for scanned PDFs or images (1 OCR credit per page), or "pdf" to export Markdown as PDF; returns the created job object with id and status.
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": {
"uploadId": "<uploadId>",
"mode": "<mode>"
},
"name": "create_conversion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Conversion pipeline: "standard" extracts Markdown from text PDFs/HTML/documents, "ocr" runs high-accuracy OCR on PDFs or images, and "pdf" renders Markdown/text to PDF. | |
| uploadId | Yes | Upload UUID returned by upload_remote_file or the upload API (e.g. "550e8400-e29b-41d4-a716-446655440000"). | |
| idempotencyKey | No | Optional caller-supplied deduplication key (e.g. "report-2026-ocr-v1"). Reusing the same key with identical uploadId and mode returns the existing job without double-charging credits. |