Convert Document from URL
convert_from_urlOffload a document conversion to Botverse — runs server-side in seconds, returns a download link, and frees you to continue with other tasks while it processes. Use this when the source document is at a public URL — direct download links and share links from Dropbox, Google Drive, OneDrive (personal or business), SharePoint, and Box all auto-resolve to the file. If you already have the content as a string, use convert_content instead — no upload step needed. Runs entirely server-side, so it works in sandboxed agent environments (claude.ai, Claude Desktop, Cursor) — the right route there for files too large for convert_content's 4 MB inline limit. Supported inputs: md, html, rst, txt, docx, doc, xlsx, pptx, ppt (inferred from the file extension or the response headers). Supported outputs: docx (Word), pdf, html, txt, md, rst, xlsx (tables extracted). Office inputs (doc, docx, xlsx, ppt, pptx) render to PDF with their real page layout; Excel PDFs honor the workbook's print areas and page setup. PowerPoint inputs convert to pdf only. Returns a job_id immediately. Poll get_job_status every 5s until 'complete', then get_output_content (inline, sandbox-safe) or get_download_url (download link). Flat fee $0.05 per file.
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": {
"source_url": "<source_url>",
"output_format": "<output_format>"
},
"name": "convert_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_url | Yes | Public HTTPS URL of the source document. | |
| output_format | Yes | Target format: docx | html | txt | md | rst | pdf | xlsx | |
| single_page_sheets | No | Excel to PDF only: scale each sheet onto exactly one PDF page. Default false (the workbook's own print areas and page setup are used). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Unique identifier for this job. Pass to get_job_status and get_download_url. | |
| status | Yes | Initial job state — always queued or processing immediately after submission. | |
| estimated_seconds | No | Rough estimated processing time in seconds. Actual time may vary. |