flatten_pdf
Turns interactive PDFs into static, non-editable files, producing a new document while preserving the original.
Instructions
Flatten an interactive PDF into a static, non-editable PDF. Creates a new document; does not overwrite the original.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | No | Custom metadata to attach | |
| documentId | Yes | The source document ID to flatten | |
| preSignedUrlExpiresIn | No | Pre-signed download URL expiry in seconds (60–86400) |