steadyline/pdf-document-to-markdown
steadyline--pdf-document-to-markdownThis tool calls the Actor "steadyline/pdf-document-to-markdown" and retrieves its output results. Actor description: Convert PDFs, Word DOCX, HTML and text files from URLs into clean Markdown or plain text for LLMs, RAG and search. Headings, lists, per-page output, metadata, chunking with overlap and scanned-PDF detection. $2 per 1,000 documents. By Steadyline Data.
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": {
"startUrls": "<startUrls>"
},
"name": "steadyline--pdf-document-to-markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxPages | No | Pages converted per PDF. Longer PDFs are cut and flagged. Example values: 200 | |
| waitSecs | No | Max seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget. | |
| chunkSize | No | If > 0, also split the content into chunks of about this many characters (paragraph-aware) for RAG/embeddings. 0 = off. | |
| startUrls | Yes | **REQUIRED** Public URLs of PDF, DOCX, HTML, TXT/MD/CSV/JSON files. Example values: [{"url":"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"}] | |
| pdfPassword | No | Optional, for password-protected PDFs. | |
| timeoutSecs | No | Per document download. Example values: 120 | |
| chunkOverlap | No | Overlap between consecutive chunks. Example values: 200 | |
| includePages | No | Also return an array with the content of each PDF page. | |
| outputFormat | No | Markdown keeps headings, lists and links; text is plain. Example values: "markdown" | markdown |
| maxFileSizeMb | No | Larger files are skipped (not charged). Example values: 50 | |
| maxConcurrency | No | Documents processed in parallel. Raise memory for big PDFs. Example values: 4 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tip | No | Advisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key | |
| runId | Yes | Actor run ID | |
| stats | No | Run statistics | |
| status | Yes | Run status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED | |
| actorId | Yes | Stable Apify Actor ID from the run record | |
| summary | Yes | Past-tense summary of the run state | |
| exitCode | No | Actor process exit code; populated for terminal states (especially FAILED) | |
| nextStep | Yes | One primary follow-up action with identifiers interpolated | |
| storages | Yes | Dataset and key-value store metadata, keyed by alias. "default" is always the primary entry. | |
| actorName | No | "username/actor-name" | |
| startedAt | No | ISO timestamp when the run started | |
| finishedAt | No | ISO timestamp when the run finished (terminal states only) | |
| statusMessage | No | Pass-through from Apify run.statusMessage | |
| apifyConsoleUrl | No | Personalized Apify Console link to the run; present only for Console sessions |