document_render
Render inline document data to PDF without storing customer, business profile, or source document; receive a signed download URL or binary PDF.
Instructions
Render a document supplied inline, storing nothing but the PDF.
The stateless path: pass the whole document in the body and get a PDF back,
with no customer, business profile or stored document required. To render a
document that already lives here, use create_document_render.
Returns JSON with a signed download_url by default. Ask for the bytes
directly with output.delivery: "binary" or Accept: application/pdf.
This tool renders asynchronously and waits for the result, so it returns the finished render rather than a queued one. Rendering is CPU-bound and served by a single worker: prefer one call at a time over starting many renders in parallel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| output | No | ||
| template | Yes | ||
| document_type | No | invoice | |
| Idempotency-Key | No | ||
| pollUntilTerminal | No | Wait for the render to finish and return the completed result. Leave this on unless you specifically want the queued render back immediately to poll yourself. |