The PDF Tools connector provides operations for working with PDF documents: extracting text, merging, splitting, and manipulating pages.
No connection required; this utility connector works out of the box.
All PDF inputs and outputs are base64-encoded strings.
extract-text: Extract text from PDF
get-info: Get PDF metadata
merge: Merge multiple PDFs
Combine multiple PDFs into a single document.Array of base64-encoded PDFs.
Example request:{
"pdfs": [
"JVBERi0xLjQKMSAwIG9iago8PAovVH...",
"JVBERi0xLjUKJeLjz9MKMSAwIG9iago..."
]
}
Example response:{
"success": true,
"pageCount": 5,
"pdf": "JVBERi0xLjcKMSAwIG9iaiA8PAovVH..."
}
extract-pages: Extract specific pages
split: Split into single-page PDFs
Split a PDF into individual single-page PDFs.Example request:{
"pdf": "JVBERi0xLjQKMSAwIG9iago8PAovVH..."
}
Example response:{
"success": true,
"totalPages": 3,
"pages": [
{ "pageNumber": 1, "pdf": "JVBERi0xLjcKMSAwIG9iaiA8PA..." },
{ "pageNumber": 2, "pdf": "JVBERi0xLjcKMiAwIG9iaiA8PA..." },
{ "pageNumber": 3, "pdf": "JVBERi0xLjcKMyAwIG9iaiA8PA..." }
]
}
Rotation angle (clockwise): "90", "180", or "270".
Pages to rotate (all pages if omitted).
Example request:{
"pdf": "JVBERi0xLjQKMSAwIG9iago8PAovVH...",
"degrees": "90",
"pages": [2, 4]
}
Example response:{
"success": true,
"rotatedPages": [2, 4],
"pdf": "JVBERi0xLjcKMSAwIG9iaiA8PAovVH..."
}
remove-pages: Remove specific pages
Create a new PDF with the specified pages removed.Page numbers to remove (1-indexed).
Example request:{
"pdf": "JVBERi0xLjQKMSAwIG9iago8PAovVH...",
"pages": [2, 4]
}
Example response:{
"success": true,
"originalPageCount": 5,
"newPageCount": 3,
"removedPages": [2, 4],
"pdf": "JVBERi0xLjcKMSAwIG9iaiA8PAovVH..."
}