convert_pdf
Convert a PDF or CSV file to Markdown using saved user settings. Optionally wait for completion and download the result.
Instructions
Upload a local PDF/CSV and queue conversion (same credits as the web app).
Uses saved user settings (get_convert_settings / set_convert_settings), not per-call engine flags. Factory default: paddle, tables on, images off.
Args: path: Absolute or home-relative path to a .pdf or .csv file. wait: If true, poll until done and download markdown (can take many minutes). timeout_sec: Max wait when wait=true (default 3600). output_dir: Directory for downloaded .md when wait=true.
Returns JSON with job info; if wait=true and completed, includes local md path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| wait | No | ||
| output_dir | No | promptready-out | |
| timeout_sec | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |