ComPDF integration
ComPDF (by KDAN) processes documents in the cloud. Convert PDF to and from Word, Excel, PowerPoint, HTML, RTF, text, CSV, JSON, Markdown, OFD and images; make scanned PDFs editable with OCR; merge, split, extract, insert, delete and rotate pages; compress, watermark, encrypt and decrypt PDFs or convert them to PDF/A, PDF/X, PDF/E or PDF/UA; compare two PDFs; generate PDFs from HTML or templates; and extract or parse document data with AI. Each tool uploads one file (merge takes 2 to 5, compare and insert 2), processes it synchronously and answers with a download link valid 24 hours. HTTP 200 can carry a failure: read code, "200" on success. Processing consumes the account's ComPDF quota (AI extraction and parsing are billed per page); get_asset_info shows what is left. The vendor recommends this synchronous mode for files up to 10 MB that process in under 60 seconds. Not exposed: the asynchronous and pre-signed upload modes, per-file page ranges and passwords on merge, the watermark index list of tagged removal, and the image_type and content_filter options of parsing (two vendor pages disagree on them). Authentication: the project's Public Key from the API Keys section of the ComPDF console, sent in the x-api-key header.
Say what should happen.
The workflow builds itself.
What you can do with ComPDF
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Pdf, 8 operations
convert_csv_to_pdfConvert csv to pdfPOSTAgents: ask firstConverts a CSV file to PDF. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_excel_to_pdfConvert excel to pdfPOSTAgents: ask firstConverts an Excel workbook to PDF. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_html_to_pdfConvert html to pdfPOSTAgents: ask firstConverts an HTML file to PDF. To render HTML text, a URL or a template instead, use generate_pdf. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_image_to_pdfConvert image to pdfPOSTAgents: ask firstConverts an image to PDF. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_powerpoint_to_pdfConvert powerpoint to pdfPOSTAgents: ask firstConverts a PowerPoint presentation to PDF. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_rtf_to_pdfConvert rtf to pdfPOSTAgents: ask firstConverts a Rich Text Format (RTF) file to PDF. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_text_to_pdfConvert text to pdfPOSTAgents: ask firstConverts a plain text (TXT) file to PDF. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_word_to_pdfConvert word to pdfPOSTAgents: ask firstConverts a Word document to PDF. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Csv, 2 operations
convert_image_to_csvConvert image to csvPOSTAgents: ask firstRecognizes the table data in an image and exports it as CSV. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_pdf_to_csvConvert pdf to csvPOSTAgents: ask firstExtracts the tables of a PDF to CSV. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Docx, 2 operations
convert_image_to_wordConvert image to wordPOSTAgents: ask firstConverts the text and layout of an image to an editable Word (DOCX) document. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_pdf_to_wordConvert pdf to wordPOSTAgents: ask firstConverts a PDF to an editable Word (DOCX) file, keeping layout, text and tables as far as possible; enable OCR for a scanned PDF. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Html, 2 operations
convert_image_to_htmlConvert image to htmlPOSTAgents: ask firstConverts an image to HTML. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_pdf_to_htmlConvert pdf to htmlPOSTAgents: ask firstConverts a PDF to HTML, as one page or one file per page. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Json, 2 operations
convert_image_to_jsonConvert image to jsonPOSTAgents: ask firstConverts an image to structured JSON (text, tables and images). Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_pdf_to_jsonConvert pdf to jsonPOSTAgents: ask firstConverts a PDF to structured JSON (text, tables and images). Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Pptx, 2 operations
convert_image_to_powerpointConvert image to powerpointPOSTAgents: ask firstConverts an image to a PowerPoint (PPTX) presentation. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_pdf_to_powerpointConvert pdf to powerpointPOSTAgents: ask firstConverts a PDF to a PowerPoint (PPTX) presentation. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Rtf, 2 operations
convert_image_to_rtfConvert image to rtfPOSTAgents: ask firstConverts an image to a Rich Text Format (RTF) document. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_pdf_to_rtfConvert pdf to rtfPOSTAgents: ask firstConverts a PDF to a Rich Text Format (RTF) document. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Txt, 2 operations
convert_image_to_textConvert image to textPOSTAgents: ask firstExtracts the text of an image to a plain text (TXT) file. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_pdf_to_textConvert pdf to textPOSTAgents: ask firstConverts a PDF to plain text (TXT). Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Xlsx, 2 operations
convert_image_to_excelConvert image to excelPOSTAgents: ask firstRecognizes the tables in an image and converts them to an editable Excel (XLSX) workbook. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.convert_pdf_to_excelConvert pdf to excelPOSTAgents: ask firstConverts a PDF to an Excel (XLSX) workbook, by default one worksheet per table. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Add watermark, 1 operation
add_pdf_watermarkAdd pdf watermarkPOSTAgents: ask firstAdds a text or image watermark to the pages of a PDF. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Close task, 1 operation
close_taskClose taskPOSTAgents: ask firstCloses a processing task by its id (from list_tasks). Answers code 200 and msg success when closed.
Compress, 1 operation
compress_pdfCompress pdfPOSTAgents: ask firstReduces the file size of a PDF, balancing clarity and size; image resolution, quality and optimization flags can be set. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Content compare, 1 operation
compare_pdfsCompare pdfsPOSTAgents: ask firstCompares two PDFs and outputs their differences: content mode colors replaced and inserted content, overlay mode overlays both. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Convert type, 1 operation
convert_pdf_standardConvert pdf standardPOSTAgents: ask firstConverts a PDF to a PDF standard: PDF/A (1a, 1b, 2a, 2u, 2b), PDF/X-4, PDF/E-1 or PDF/UA-1. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Decrypt, 1 operation
decrypt_pdfDecrypt pdfPOSTAgents: ask firstRemoves the password protection of an encrypted PDF, given its open or owner password. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Del watermark, 1 operation
remove_pdf_watermarkRemove pdf watermarkPOSTAgents: ask firstRemoves watermarks from a PDF, in tagged or untagged mode. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Delete, 1 operation
delete_pdf_pagesDelete pdf pagesPOSTAgents: ask firstReturns a copy of a PDF with the given pages removed (the uploaded file itself is not changed). Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Document extract, 1 operation
extract_document_dataExtract document dataPOSTAgents: ask firstExtracts the fields and tables you define in extraction_schema from a document with AI, into a JSON result file. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Document parsing, 1 operation
parse_documentParse documentPOSTAgents: ask firstParses a document with AI into structured data (Markdown and layout blocks), as a result file. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Editable, 1 operation
convert_pdf_to_editable_pdfConvert pdf to editable pdfPOSTAgents: ask firstMakes a scanned or image-based PDF editable and searchable with OCR (OCR is on by default here). Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Encrypt, 1 operation
encrypt_pdfEncrypt pdfPOSTAgents: ask firstSets an open (user) password and/or an owner password with permissions on a PDF. Every permission defaults to not allowed. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Extract, 1 operation
extract_pdf_pagesExtract pdf pagesPOSTAgents: ask firstExtracts the given pages of a PDF into a new PDF. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Generate, 1 operation
generate_pdfGenerate pdfPOSTAgents: ask firstGenerates a PDF from HTML (text, a file or a URL) or from an HTML template filled with JSON data. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Img, 1 operation
convert_pdf_to_imageConvert pdf to imagePOSTAgents: ask firstConverts PDF pages to images (JPG by default; PNG, TIFF, WEBP and others available). Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Info, 1 operation
get_asset_infoGet asset infoGETAgents: ask firstReturns your remaining ComPDF processing quota by asset type (such as SUBSCRIPTIONS or PACKAGES): the available balance and the amount withheld by tasks still running.
Insert, 1 operation
insert_pdf_pagesInsert pdf pagesPOSTAgents: ask firstInserts pages of a second PDF (file_2) into a target PDF (file_1) at a given position. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
List, 1 operation
list_tasksList tasksGETAgents: ask firstLists your ComPDF processing tasks, a page at a time: task id, status, file counts, cost, source and target type, times.
Markdown, 1 operation
convert_pdf_to_markdownConvert pdf to markdownPOSTAgents: ask firstConverts a PDF to Markdown. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Merge, 1 operation
merge_pdfsMerge pdfsPOSTAgents: ask firstMerges 2 to 5 PDFs into one, in the order file_1, file_2, and so on. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Ofd, 1 operation
convert_pdf_to_ofdConvert pdf to ofdPOSTAgents: ask firstConverts a PDF to OFD format; OCR is on by default for this output. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Rotation, 1 operation
rotate_pdf_pagesRotate pdf pagesPOSTAgents: ask firstRotates the given pages of a PDF by 90, 180 or 270 degrees. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Split, 1 operation
split_pdfSplit pdfPOSTAgents: ask firstSplits a PDF into separate files at the given page ranges; the result is a ZIP file. Result link at data.downloadUrl (valid 24 hours); check code is "200". Uses ComPDF quota.
Use ComPDF from Claude Code, Cursor or Codex
Connect ComPDF in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its ComPDF operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect ComPDF
- Create your workspace
Sign up free. Nothing to install.
- Connect ComPDF once
Add your ComPDF connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
ComPDF integration FAQ
What can you do with the ComPDF integration?
LiveContext exposes 47 operations on ComPDF, covering pdf, csv, docx and html.
