Actions42
- Bulk Render Actions
- Document Actions
- Document Tool Actions
- File Actions
- Render Actions
Document Tool → Split PDF
AI-generatedSummary
Splits a PDF into separate parts by specified page ranges
Inputs
- fileId (required) — ID of the file uploaded via the File resource. Use File > Upload to get a file ID.
- ranges (required) — Comma-separated page ranges to split into separate PDFs (e.g. '1-3,4-6,7-')
- waitForCompletion — Whether to wait for the tool job to complete before returning
- downloadOutput — Whether to automatically download the output file as binary data after completion
Output shape
json|binary
Returns the tool job's response data as JSON if downloadOutput is false or the job has not completed. If downloadOutput is true and the job completes successfully, returns the split PDF as binary data with file metadata (fileName, mimeType).
Examples
Example 1: Split first three pages of a PDF into a separate file
fileId: 'abc123', ranges: '1-3'