Install pdfco-mcp from PyPI
Install exact version 0.0.9. The executable name has not been verified, so it is intentionally not guessed.
python -m pip install 'pdfco-mcp==0.0.9'Provides PDF.co API functionality through the Model Context Protocol, enabling AI assistants to perform various PDF processing tasks like conversion, editing, searching, and security operations
Installation and connection instructions are shown only when supported by retained package, repository, or endpoint evidence.
Install exact version 0.0.9. The executable name has not been verified, so it is intentionally not guessed.
python -m pip install 'pdfco-mcp==0.0.9'| Canonical slug | pdf-co-mcp-server-907bb4b7 | Deployment | Remote Only |
|---|---|---|---|
| Canonical package | pypi:pdfco-mcp | Repository | pdfdotco/pdfco-mcp |
| First published | Jul 28, 2026 | Latest release | Jul 28, 2026 |
| Last security verification | — | Classification confidence | 35% |
| Publication | Published | Official distribution | Yes |
| Channel | Identifier | Current version | Versions | Source |
|---|---|---|---|---|
| pypi | pdfco-mcp | 0.0.9 | 1 | Repository |
| Package | Version | Published / observed | Inventory | Security scan |
|---|---|---|---|---|
| pypipdfco-mcp | 0.0.9Current | Jul 28, 2026 | 38 toolsSucceeded · 0 resources · 0 prompts | Failed |
Independently scan the exact version your agents use, receive alerts when its risk changes, and investigate every finding with retained version evidence.
| Provenance | artifact_hash_verified | Signature | — |
|---|---|---|---|
| MCP SDK | — | Artifact SHA-256 | ba316b970bd6c4789588af2c4eb42c38b6f569761a3a86b8869df30ca73bbc3a |
| Scanner | mcp-proof-engine 0.1.0 | Scan completed | Aug 24, 2026 |
| Security rating | — | Methodology | — |
| Tool | Category | Annotations | Risk |
|---|---|---|---|
ai_invoice_parserAI Invoice Parser: Extracts data from invoices using AI.
Ref: https://developer.pdf.co/api/ai-invoice-parser.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source PDF file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
create_fillable_formsCreate new fillable form elements in a PDF document.
Example annotations format:
[
{
"text": "prefilled text",
"x": 10,
"y": 30,
"size": 12,
"pages": "0-",
"type": "TextField",
"id": "textfield1"
},
{
"x": 100,
"y": 150,
"size": 12,
"pages": "0-",
"type": "Checkbox",
"id": "checkbox1"
}
]
Ref: https://developer.pdf.co/api/pdf-add.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source PDF file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"annotations": {
"description": "List of form annotations to create. Each annotation can be a textfield or checkbox with properties like 'x', 'y', 'size', 'pages', 'type', and 'id'.",
"items": {},
"type": "array"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url",
"annotations"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
csv_to_pdfConvert CSV or spreadsheet files (XLS, XLSX) to PDF.
Ref: https://developer.pdf.co/api/pdf-from-document/csv.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file (CSV, XLS, XLSX). Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"autosize": {
"default": false,
"description": "Controls automatic page sizing. If true, page dimensions adjust to content. If false, uses worksheet’s page setup. (Optional)",
"type": "boolean"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated page indices (e.g., '0, 1, 2-' or '1, 3-7'). Use '!' for inverted page numbers (e.g., '!0' for last page). Processes all pages if None. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
document_to_pdfConvert various document types (DOC, DOCX, RTF, TXT, XLS, XLSX, CSV, HTML, JPG, PNG, TIFF, WEBP) into PDF.
Ref: https://developer.pdf.co/api/pdf-from-document/doc.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file (DOC, DOCX, RTF, TXT, XPS). Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"autosize": {
"default": false,
"description": "Controls automatic page sizing. If true, page dimensions adjust to content. If false, uses worksheet’s page setup. (Optional)",
"type": "boolean"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated page indices (e.g., '0, 1, 2-' or '1, 3-7'). Use '!' for inverted page numbers (e.g., '!0' for last page). Processes all pages if None. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
email_to_pdfConvert email to PDF.
Ref: https://developer.pdf.co/api/pdf-from-email.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file (MSG, EML). Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"embedAttachments": {
"default": true,
"description": "Set to true to automatically embeds all attachments from original input email MSG or EML files into the final output PDF. Set it to false if you don’t want to embed attachments so it will convert only the body of the input email. True by default.",
"type": "boolean"
},
"convertAttachments": {
"default": true,
"description": "Set to false if you don’t want to convert attachments from the original email and want to embed them as original files (as embedded PDF attachments). Converts attachments that are supported by the PDF.co API (DOC, DOCx, HTML, PNG, JPG etc.) into PDF format and then merges into output final PDF. Non-supported file types are added as PDF attachments (Adobe Reader or another viewer may be required to view PDF attachments).",
"type": "boolean"
},
"margins": {
"default": "",
"description": "Set to CSS style margins like 10px, 5mm, 5in for all sides or 5px 5px 5px 5px (the order of margins is top, right, bottom, left). (Optional)",
"type": "string"
},
"paperSize": {
"default": "",
"description": "A4 is set by default. Can be Letter, Legal, Tabloid, Ledger, A0, A1, A2, A3, A4, A5, A6 or a custom size. Custom size can be set in px (pixels), mm or in (inches) with width and height separated by space like this: 200 300, 200px 300px, 200mm 300mm, 20cm 30cm or 6in 8in. (Optional)",
"type": "string"
},
"orientation": {
"default": "",
"description": "Set to Portrait or Landscape. Portrait is set by default. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
excel_to_csvConvert Excel(XLS, XLSX) to CSV.
Ref: https://developer.pdf.co/api/convert-from-excel/csv.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file (XLS, XLSX). Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"worksheetIndex": {
"default": "",
"description": "Index of the worksheet to convert. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
excel_to_htmlConvert Excel(XLS, XLSX) to HTML.
Ref: https://developer.pdf.co/api/convert-from-excel/html.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file (XLS, XLSX). Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"worksheetIndex": {
"default": "",
"description": "Index of the worksheet to convert. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
excel_to_jsonConvert Excel(XLS, XLSX) to JSON.
Ref: https://developer.pdf.co/api/convert-from-excel/json.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file (XLS, XLSX). Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"worksheetIndex": {
"default": "",
"description": "Index of the worksheet to convert. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
excel_to_pdfConvert Excel(XLS, XLSX) to PDF.
Ref: https://developer.pdf.co/api/convert-from-excel/pdf.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file (XLS, XLSX). Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"worksheetIndex": {
"default": "",
"description": "Index of the worksheet to convert. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
excel_to_txtConvert Excel(XLS, XLSX) to TXT.
Ref: https://developer.pdf.co/api/convert-from-excel/text.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file (XLS, XLSX). Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"worksheetIndex": {
"default": "",
"description": "Index of the worksheet to convert. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
excel_to_xmlConvert Excel(XLS, XLSX) to XML.
Ref: https://developer.pdf.co/api/convert-from-excel/xml.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file (XLS, XLSX). Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"worksheetIndex": {
"default": "",
"description": "Index of the worksheet to convert. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
extract_attachmentsExtracts attachments from a source PDF file.
Ref: https://developer.pdf.co/api/pdf-extract-attachments.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source PDF file.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of PDF file. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
fill_formsFill existing form fields in a PDF document.
Example fields format:
[
{
"fieldName": "field_name_from_form_info",
"pages": "1",
"text": "Value to fill"
}
]
Use 'read_pdf_forms_info' first to get the fieldName values of the form.
Ref: https://developer.pdf.co/api/pdf-add.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source PDF file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"fields": {
"description": "List of fields to fill. Each field is a dict with 'fieldName', 'pages', and 'text' properties.",
"items": {},
"type": "array"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url",
"fields"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
find_tableFind tables in PDF and get their coordinates.
Ref: https://developer.pdf.co/api/pdf-find/table.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source PDF file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated list of page indices (or ranges) to process. Leave empty for all pages. Example: '0,2-5,7-'. The first-page index is 0. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
find_textFind text in PDF and get coordinates. Supports regular expressions.
Ref: https://developer.pdf.co/api/pdf-find/basic.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source PDF file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"searchString": {
"description": "Text to search. Can support regular expressions if regexSearch is set to True.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated list of page indices (or ranges) to process. Leave empty for all pages. Example: '0,2-5,7-'. The first-page index is 0. (Optional)",
"type": "string"
},
"wordMatchingMode": {
"default": null,
"description": "Values can be either SmartMatch, ExactMatch, or None. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file. (Optional)",
"type": "string"
},
"regexSearch": {
"default": false,
"description": "Set to True to enable regular expressions in the search string. (Optional)",
"type": "boolean"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url",
"searchString"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
get_job_checkCheck the status and results of a job
Status can be:
- working: background job is currently in work or does not exist.
- success: background job was successfully finished.
- failed: background job failed for some reason (see message for more details).
- aborted: background job was aborted.
- unknown: unknown background job id. Available only when force is set to true for input request.Input schema{
"additionalProperties": false,
"properties": {
"job_id": {
"description": "The ID of the job to get the status of",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"job_id"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
html_to_pdfConvert HTML to PDF.
Ref: https://developer.pdf.co/api/pdf-from-html/convert.md
The header and footer parameters can contain valid HTML markup with the following classes used to inject printing values into them:
- date: formatted print date
- title: document title
- url: document location
- pageNumber: current page number
- totalPages: total pages in the document
- img: tag is supported in both the header and footer parameter, provided that the src attribute is specified as a base64-encoded string.
For example, the following markup will generate Page N of NN page numbering:
```html
<span style='font-size:10px'>Page <span class='pageNumber'></span> of <span class='totalPages'></span>.</span>Input schema{
"additionalProperties": false,
"properties": {
"html": {
"description": "Input HTML code to be converted. To convert the link to a PDF use the /pdf/convert/from/url endpoint instead. If it is a local file, just pass the file content as a string.",
"type": "string"
},
"margins": {
"default": "",
"description": "Set to CSS style margins like 10px, 5mm, 5in for all sides or 5px 5px 5px 5px (the order of margins is top, right, bottom, left). (Optional)",
"type": "string"
},
"paperSize": {
"default": "",
"description": "A4 is set by default. Can be Letter, Legal, Tabloid, Ledger, A0, A1, A2, A3, A4, A5, A6 or a custom size. Custom size can be set in px (pixels), mm or in (inches) with width and height separated by space like this: 200 300, 200px 300px, 200mm 300mm, 20cm 30cm or 6in 8in. (Optional)",
"type": "string"
},
"orientation": {
"default": "",
"description": "Set to Portrait or Landscape. Portrait is set by default. (Optional)",
"type": "string"
},
"printBackground": {
"default": true,
"description": "true by default. Set to false to disable printing of background. (Optional)",
"type": "boolean"
},
"mediaType": {
"default": "",
"description": "Uses print by default. Set to screen to convert HTML as it appears in a browser or print to convert as it appears for printing or none to set none as mediaType for CSS styles. (Optional)",
"type": "string"
},
"DoNotWaitFullLoad": {
"default": false,
"description": "false by default. Set to true to skip waiting for full load (like full video load etc. that may affect the total conversion time). (Optional)",
"type": "boolean"
},
"header": {
"default": "",
"description": "User definable HTML for the header to be applied on every page header. (Optional)",
"type": "string"
},
"footer": {
"default": "",
"description": "User definable HTML for the footer to be applied on every page footer. (Optional)",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"html"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
image_to_pdfConvert various image formats (JPG, PNG, TIFF) to PDF.
Ref: https://developer.pdf.co/api/pdf-from-image.md
```Input schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file (JPG, PNG, TIFF). Multiple files are supported (by providing a comma-separated list of URLs). Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated page indices (e.g., '0, 1, 2-' or '1, 3-7'). Use '!' for inverted page numbers (e.g., '!0' for last page). Processes all pages if None. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_add_annotations_images_fieldsAdd text, images, forms, other PDFs, fill forms, links to external sites and external PDF files. You can update or modify PDF and scanned PDF files.
This tool supports three main ways to add content:
1. **annotations**: Add text, links, shapes, etc.
Properties: text, x, y, size, pages, color, link, fontName, fontItalic, fontBold, fontStrikeout, fontUnderline
2. **images**: Add images or other PDF content
Properties: url, x, y, width, height, pages
3. **fields**: Fill existing form fields
Properties: fieldName, pages, text, fontName, size, fontBold, fontItalic, fontStrikeout, fontUnderline
Example annotations:
[{"text": "Sample Text - Click here to test link", "x": 250, "y": 240, "size": 24, "pages": "0-", "color": "CCBBAA", "link": "https://pdf.co/", "fontName": "Comic Sans MS", "fontItalic": true, "fontBold": true, "fontStrikeout": false, "fontUnderline": true}]
Example images:
[{"url": "https://pdfco-test-files.s3.us-west-2.amazonaws.com/pdf-edit/logo.png", "x": 270, "y": 150, "width": 159, "height": 43, "pages": "0"}]
Example fields:
[{"fieldName": "topmostSubform[0].Page1[0].YourSocial_ReadOrderControl[0].f1_05[0]", "pages": "1", "text": "Joan B.", "fontName": "Arial", "size": 6, "fontBold": true, "fontItalic": true, "fontStrikeout": true, "fontUnderline": true}]
Ref: https://developer.pdf.co/api/pdf-add.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source PDF file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password for the PDF file. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"annotations": {
"default": [],
"description": "Array of annotation objects to add text, links, shapes, etc. Each object can have: 'text' (string), 'x' (number), 'y' (number), 'size' (number), 'pages' (string), 'color' (string hex), 'link' (string URL), 'fontName' (string), 'fontItalic' (boolean), 'fontBold' (boolean), 'fontStrikeout' (boolean), 'fontUnderline' (boolean). (Optional)",
"items": {},
"type": "array"
},
"images": {
"default": [],
"description": "Array of image objects to add images to PDF. Each object can have: 'url' (string), 'x' (number), 'y' (number), 'width' (number), 'height' (number), 'pages' (string). (Optional)",
"items": {},
"type": "array"
},
"fields": {
"default": [],
"description": "Array of form field objects to fill PDF form fields. Each object can have: 'fieldName' (string), 'pages' (string), 'text' (string), 'fontName' (string), 'size' (number), 'fontBold' (boolean), 'fontItalic' (boolean), 'fontStrikeout' (boolean), 'fontUnderline' (boolean). (Optional)",
"items": {},
"type": "array"
},
"expiration": {
"default": 60,
"description": "Set the expiration time for the output link in minutes. After this specified duration, any generated output file(s) will be automatically deleted. (Optional)",
"type": "integer"
},
"encrypt": {
"default": false,
"description": "Encrypt output file. (Optional)",
"type": "boolean"
},
"flatten": {
"default": false,
"description": "Flatten filled form fields and annotations into PDF content. Set to true to disable editing of filled form fields in the output PDF. (Optional)",
"type": "boolean"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_add_passwordAdd password protection to a PDF file.
Ref: https://developer.pdf.co/api/pdf-password/add.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source PDF file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"owner_password": {
"description": "The main owner password that is used for document encryption and for setting/removing restrictions.",
"type": "string"
},
"user_password": {
"default": "",
"description": "The optional user password will be asked for viewing and printing document.",
"type": "string"
},
"encryption_algorithm": {
"default": "AES_256bit",
"description": "Encryption algorithm. Valid values: RC4_40bit, RC4_128bit, AES_128bit, AES_256bit. AES_128bit or higher is recommended.",
"type": "string"
},
"allow_accessibility_support": {
"default": false,
"description": "Allow or prohibit content extraction for accessibility needs.",
"type": "boolean"
},
"allow_assembly_document": {
"default": false,
"description": "Allow or prohibit assembling the document.",
"type": "boolean"
},
"allow_print_document": {
"default": false,
"description": "Allow or prohibit printing PDF document.",
"type": "boolean"
},
"allow_fill_forms": {
"default": false,
"description": "Allow or prohibit the filling of interactive form fields (including signature fields) in the PDF documents.",
"type": "boolean"
},
"allow_modify_document": {
"default": false,
"description": "Allow or prohibit modification of PDF document.",
"type": "boolean"
},
"allow_content_extraction": {
"default": false,
"description": "Allow or prohibit copying content from PDF document.",
"type": "boolean"
},
"allow_modify_annotations": {
"default": false,
"description": "Allow or prohibit interacting with text annotations and forms in PDF document.",
"type": "boolean"
},
"print_quality": {
"default": "",
"description": "Allowed printing quality. Valid values: HighResolution, LowResolution.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file if it's already password-protected. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url",
"owner_password"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_info_readerGet detailed information about a PDF document - number of pages, metadata, security, form fields, and more.
Ref: https://developer.pdf.co/api/pdf-info-reader.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source PDF file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_make_searchableConvert scanned PDF documents or image files into a text-searchable PDF.
Runs OCR and adds an invisible text layer that can be used for text search.
Ref: https://developer.pdf.co/api/pdf-change-text-searchable/searchable.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"lang": {
"default": "eng",
"description": "Language for OCR for scanned documents. Default is 'eng'. See PDF.co docs for supported languages. (Optional, Default: 'eng')",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated page indices (e.g., '0, 1, 2-' or '1, 3-7'). Use '!' for inverted page numbers (e.g., '!0' for last page). Processes all pages if None. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_make_unsearchableMake existing PDF document non-searchable by removing the text layer from it.
Ref: https://developer.pdf.co/api/pdf-change-text-searchable/unsearchable.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated page indices (e.g., '0, 1, 2-' or '1, 3-7'). Use '!' for inverted page numbers (e.g., '!0' for last page). Processes all pages if None. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_mergeMerge PDF from two or more PDF, DOC, XLS, images, even ZIP with documents and images into a new PDF.
Ref: https://developer.pdf.co/api/merge/various-files.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URLs to the source files as a comma-separated list. Supports PDF, DOC, DOCX, RTF, TXT, XLS, XLSX, CSV, images, and more. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_remove_passwordRemove password protection from a PDF file.
Ref: https://developer.pdf.co/api/pdf-password/remove.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source PDF file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file to be removed. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_splitSplit a PDF into multiple PDF files using page indexes or page ranges.
Ref: https://developer.pdf.co/api/pdf-split/by-pages.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source PDF file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"pages": {
"description": "Comma-separated indices of pages (or page ranges) that you want to use. The first-page index is 1. For example: '1,3,5-7' or '1-2,4-'. Use '*' to split every page into separate files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "Base file name for the generated output files. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url",
"pages"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_to_csvConvert PDF and scanned images into CSV representation with layout, columns, rows, and tables.
Ref: https://developer.pdf.co/api/pdf-to-csv.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated page indices (e.g., '0, 1, 2-' or '1, 3-7'). Use '!' for inverted page numbers (e.g., '!0' for last page). Processes all pages if None. (Optional)",
"type": "string"
},
"unwrap": {
"default": false,
"description": "Unwrap lines into a single line within table cells when lineGrouping is enabled. Must be true or false. (Optional)",
"type": "boolean"
},
"rect": {
"default": "",
"description": "Defines coordinates for extraction (e.g., '51.8,114.8,235.5,204.0'). (Optional)",
"type": "string"
},
"lang": {
"default": "eng",
"description": "Language for OCR for scanned documents. Default is 'eng'. See PDF.co docs for supported languages. (Optional, Default: 'eng')",
"type": "string"
},
"line_grouping": {
"default": "0",
"description": "Enables line grouping within table cells when set to '1'. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_to_htmlConvert PDF and scanned images to HTML format.
Ref: https://developer.pdf.co/api/pdf-to-html.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated page indices (e.g., '0, 1, 2-' or '1, 3-7'). Use '!' for inverted page numbers (e.g., '!0' for last page). Processes all pages if None. (Optional)",
"type": "string"
},
"unwrap": {
"default": false,
"description": "Unwrap lines into a single line within table cells when lineGrouping is enabled. Must be true or false. (Optional)",
"type": "boolean"
},
"rect": {
"default": "",
"description": "Defines coordinates for extraction (e.g., '51.8,114.8,235.5,204.0'). (Optional)",
"type": "string"
},
"lang": {
"default": "eng",
"description": "Language for OCR for scanned documents. Default is 'eng'. See PDF.co docs for supported languages. (Optional, Default: 'eng')",
"type": "string"
},
"line_grouping": {
"default": "0",
"description": "Enables line grouping within table cells when set to '1'. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_to_imageConvert PDF and scanned images to various image formats (JPG, PNG, WebP, TIFF).
Ref:
- https://developer.pdf.co/api/pdf-to-image/jpg.md
- https://developer.pdf.co/api/pdf-to-image/png.md
- https://developer.pdf.co/api/pdf-to-image/webp.md
- https://developer.pdf.co/api/pdf-to-image/tiff.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated page indices (e.g., '0, 1, 2-' or '1, 3-7'). Use '!' for inverted page numbers (e.g., '!0' for last page). Processes all pages if None. (Optional)",
"type": "string"
},
"unwrap": {
"default": false,
"description": "Unwrap lines into a single line within table cells when lineGrouping is enabled. Must be true or false. (Optional)",
"type": "boolean"
},
"rect": {
"default": "",
"description": "Defines coordinates for extraction (e.g., '51.8,114.8,235.5,204.0'). (Optional)",
"type": "string"
},
"lang": {
"default": "eng",
"description": "Language for OCR for scanned documents. Default is 'eng'. See PDF.co docs for supported languages. (Optional, Default: 'eng')",
"type": "string"
},
"line_grouping": {
"default": "0",
"description": "Enables line grouping within table cells when set to '1'. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"type": {
"choices": [
"jpg",
"png",
"webp",
"tiff"
],
"default": "jpg",
"description": "Type of image to convert to. (jpg, png, webp, tiff) (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_to_jsonConvert PDF and scanned images into JSON representation with text, fonts, images, vectors, and formatting preserved using the /pdf/convert/to/json2 endpoint.
Ref: https://developer.pdf.co/api/pdf-to-json/basic.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated page indices (e.g., '0, 1, 2-' or '1, 3-7'). Use '!' for inverted page numbers (e.g., '!0' for last page). Processes all pages if None. (Optional)",
"type": "string"
},
"unwrap": {
"default": false,
"description": "Unwrap lines into a single line within table cells when lineGrouping is enabled. Must be true or false. (Optional)",
"type": "boolean"
},
"rect": {
"default": "",
"description": "Defines coordinates for extraction (e.g., '51.8,114.8,235.5,204.0'). (Optional)",
"type": "string"
},
"lang": {
"default": "eng",
"description": "Language for OCR for scanned documents. Default is 'eng'. See PDF.co docs for supported languages. (Optional, Default: 'eng')",
"type": "string"
},
"line_grouping": {
"default": "0",
"description": "Enables line grouping within table cells when set to '1'. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_to_textConvert PDF and scanned images to text with layout preserved.
Ref: https://developer.pdf.co/api/pdf-to-text/basic.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated page indices (e.g., '0, 1, 2-' or '1, 3-7'). Use '!' for inverted page numbers (e.g., '!0' for last page). Processes all pages if None. (Optional)",
"type": "string"
},
"unwrap": {
"default": false,
"description": "Unwrap lines into a single line within table cells when lineGrouping is enabled. Must be true or false. (Optional)",
"type": "boolean"
},
"rect": {
"default": "",
"description": "Defines coordinates for extraction (e.g., '51.8,114.8,235.5,204.0'). (Optional)",
"type": "string"
},
"lang": {
"default": "eng",
"description": "Language for OCR for scanned documents. Default is 'eng'. See PDF.co docs for supported languages. (Optional, Default: 'eng')",
"type": "string"
},
"line_grouping": {
"default": "0",
"description": "Enables line grouping within table cells when set to '1'. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_to_xlsConvert PDF and scanned images to XLS (Excel 97-2003) format.
Ref: https://developer.pdf.co/api/pdf-to-excel/xls.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated page indices (e.g., '0, 1, 2-' or '1, 3-7'). Use '!' for inverted page numbers (e.g., '!0' for last page). Processes all pages if None. (Optional)",
"type": "string"
},
"unwrap": {
"default": false,
"description": "Unwrap lines into a single line within table cells when lineGrouping is enabled. Must be true or false. (Optional)",
"type": "boolean"
},
"rect": {
"default": "",
"description": "Defines coordinates for extraction (e.g., '51.8,114.8,235.5,204.0'). (Optional)",
"type": "string"
},
"lang": {
"default": "eng",
"description": "Language for OCR for scanned documents. Default is 'eng'. See PDF.co docs for supported languages. (Optional, Default: 'eng')",
"type": "string"
},
"line_grouping": {
"default": "0",
"description": "Enables line grouping within table cells when set to '1'. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_to_xlsxConvert PDF and scanned images to XLSX (Excel 2007+) format.
Ref: https://developer.pdf.co/api/pdf-to-excel/xlsx.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated page indices (e.g., '0, 1, 2-' or '1, 3-7'). Use '!' for inverted page numbers (e.g., '!0' for last page). Processes all pages if None. (Optional)",
"type": "string"
},
"unwrap": {
"default": false,
"description": "Unwrap lines into a single line within table cells when lineGrouping is enabled. Must be true or false. (Optional)",
"type": "boolean"
},
"rect": {
"default": "",
"description": "Defines coordinates for extraction (e.g., '51.8,114.8,235.5,204.0'). (Optional)",
"type": "string"
},
"lang": {
"default": "eng",
"description": "Language for OCR for scanned documents. Default is 'eng'. See PDF.co docs for supported languages. (Optional, Default: 'eng')",
"type": "string"
},
"line_grouping": {
"default": "0",
"description": "Enables line grouping within table cells when set to '1'. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
pdf_to_xmlConvert PDF and scanned images to XML format.
Ref: https://developer.pdf.co/api/pdf-to-xml.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"pages": {
"default": "",
"description": "Comma-separated page indices (e.g., '0, 1, 2-' or '1, 3-7'). Use '!' for inverted page numbers (e.g., '!0' for last page). Processes all pages if None. (Optional)",
"type": "string"
},
"unwrap": {
"default": false,
"description": "Unwrap lines into a single line within table cells when lineGrouping is enabled. Must be true or false. (Optional)",
"type": "boolean"
},
"rect": {
"default": "",
"description": "Defines coordinates for extraction (e.g., '51.8,114.8,235.5,204.0'). (Optional)",
"type": "string"
},
"lang": {
"default": "eng",
"description": "Language for OCR for scanned documents. Default is 'eng'. See PDF.co docs for supported languages. (Optional, Default: 'eng')",
"type": "string"
},
"line_grouping": {
"default": "0",
"description": "Enables line grouping within table cells when set to '1'. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of the PDF file. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
read_pdf_forms_infoExtracts information about fillable PDF fields from an input PDF file.
Ref: https://developer.pdf.co/api/forms/info-reader.mdInput schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source PDF file. Supports publicly accessible links including Google Drive, Dropbox, PDF.co Built-In Files Storage. Use 'upload_file' tool to upload local files.",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"password": {
"default": "",
"description": "Password of PDF file. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
upload_fileUpload a file to the PDF.co APIInput schema{
"additionalProperties": false,
"properties": {
"file_path": {
"description": "The absolute path to the file to upload",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"file_path"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
wait_job_completionWait for a job to completeInput schema{
"additionalProperties": false,
"properties": {
"job_id": {
"description": "The ID of the job to get the status of",
"type": "string"
},
"interval": {
"default": 1,
"description": "The interval to check the status of the job (seconds)",
"type": "integer"
},
"timeout": {
"default": 300,
"description": "The timeout to wait for the job to complete (seconds)",
"type": "integer"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"job_id"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — | |
webpage_to_pdfConvert external webpage URL to PDF.
Ref: https://developer.pdf.co/api/pdf-from-url.md
The header and footer parameters can contain valid HTML markup with the following classes used to inject printing values into them:
- date: formatted print date
- title: document title
- url: document location
- pageNumber: current page number
- totalPages: total pages in the document
- img: tag is supported in both the header and footer parameter, provided that the src attribute is specified as a base64-encoded string.
For example, the following markup will generate Page N of NN page numbering:
```html
<span style='font-size:10px'>Page <span class='pageNumber'></span> of <span class='totalPages'></span>.</span>Input schema{
"additionalProperties": false,
"properties": {
"url": {
"description": "URL to the source file (external webpage URL).",
"type": "string"
},
"margins": {
"default": "",
"description": "Set to CSS style margins like 10px, 5mm, 5in for all sides or 5px 5px 5px 5px (the order of margins is top, right, bottom, left). (Optional)",
"type": "string"
},
"paperSize": {
"default": "",
"description": "A4 is set by default. Can be Letter, Legal, Tabloid, Ledger, A0, A1, A2, A3, A4, A5, A6 or a custom size. Custom size can be set in px (pixels), mm or in (inches) with width and height separated by space like this: 200 300, 200px 300px, 200mm 300mm, 20cm 30cm or 6in 8in. (Optional)",
"type": "string"
},
"orientation": {
"default": "",
"description": "Set to Portrait or Landscape. Portrait is set by default. (Optional)",
"type": "string"
},
"printBackground": {
"default": true,
"description": "true by default. Set to false to disable printing of background. (Optional)",
"type": "boolean"
},
"mediaType": {
"default": "",
"description": "Uses print by default. Set to screen to convert HTML as it appears in a browser or print to convert as it appears for printing or none to set none as mediaType for CSS styles. (Optional)",
"type": "string"
},
"DoNotWaitFullLoad": {
"default": false,
"description": "false by default. Set to true to skip waiting for full load (like full video load etc. that may affect the total conversion time). (Optional)",
"type": "boolean"
},
"header": {
"default": "",
"description": "User definable HTML for the header to be applied on every page header. (Optional)",
"type": "string"
},
"footer": {
"default": "",
"description": "User definable HTML for the footer to be applied on every page footer. (Optional)",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"type": "string"
},
"name": {
"default": "",
"description": "File name for the generated output. (Optional)",
"type": "string"
},
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Output schema{
"properties": {
"status": {
"type": "string"
},
"content": {},
"credits_used": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"credits_remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"tips": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"status",
"content"
],
"type": "object"
} | — | — |
| Endpoint | Transport | Authentication | Health | Observed |
|---|---|---|---|---|
| No verified remote endpoint is linked. | ||||
Install the selected package version with: python -m pip install 'pdfco-mcp==0.0.9'
PDF.co MCP Server exposed 38 tools during independent protocol observation, including ai_invoice_parser, create_fillable_forms, csv_to_pdf, document_to_pdf, email_to_pdf, excel_to_csv, excel_to_html, excel_to_json, and others.
Our scanner tested version 0.0.9 without proving a finding in the methods exercised. This is not a guarantee that every deployment is secure.
Curated product and capability guides containing this catalog record.