Generate filled PDF
generate_filled_pdfFill the official PDF in its original layout from a validated draft. Call it only after showing the user every answer and receiving their explicit confirmation of that exact revision; finishing the questions is not confirmation. Signatures are never filled and nothing is submitted to any agency. Returns an artifact_id; pass it to get_pdf_download for a link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flatten | No | true makes the filled fields permanent so the PDF can no longer be edited. Default false keeps them editable. | |
| confirmation | Yes | Must be true, and only after the user explicitly confirmed the answers. | |
| application_id | Yes | Application ID (UUID) returned by create_application. | |
| reviewed_revision | Yes | The revision the user reviewed and confirmed. If the draft changed since, generation is refused. |