Free PDF tools: merge, split, compress, convert, OCR, protect, watermark. No API key.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Add page numbers as real text in a chosen corner with a custom format such as "Page {n} of {total}".
The PDF.
Number of the first numbered page.
{n} = page number, {total} = page count. Latin characters only.
b/t = bottom/top, c/r/l = center/right/left.
Do not number the first page (cover).
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http pdf-tools https://pdfefforts.com/mcp
Add page numbers as real text in a chosen corner with a custom format such as "Page {n} of {total}".
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF. |
| start | integer | Number of the first numbered page. |
| format | string | {n} = page number, {total} = page count. Latin characters only. |
| position | string | b/t = bottom/top, c/r/l = center/right/left. |
| font_size | integer | |
| skip_first_page | boolean | Do not number the first page (cover). |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF.",
"additionalProperties": false
},
"start": {
"type": "integer",
"default": 1,
"maximum": 100000,
"minimum": 0,
"description": "Number of the first numbered page."
},
"format": {
"type": "string",
"default": "Page {n} of {total}",
"maxLength": 60,
"description": "{n} = page number, {total} = page count. Latin characters only."
},
"position": {
"enum": [
"bc",
"br",
"bl",
"tc",
"tr",
"tl"
],
"type": "string",
"default": "bc",
"description": "b/t = bottom/top, c/r/l = center/right/left."
},
"font_size": {
"type": "integer",
"default": 10,
"maximum": 36,
"minimum": 6
},
"skip_first_page": {
"type": "boolean",
"default": false,
"description": "Do not number the first page (cover)."
}
},
"additionalProperties": false
}Stamp a text watermark (e.g. CONFIDENTIAL, DRAFT) on all or selected pages. Text must use Latin characters (Western European).
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF. |
| text* | string | Watermark text (Latin characters). |
| color | string | Hex colour, e.g. "#d0312d". |
| pages | string | Pages to watermark: "all", or numbers and ranges such as "1-3, 5, 8-end" ("end" = last page). |
| layout | string | diagonal center, center, tiled pattern, or bottom right. |
| opacity | integer | Opacity in percent. |
| font_size | integer |
{
"type": "object",
"required": [
"file",
"text"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF.",
"additionalProperties": false
},
"text": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Watermark text (Latin characters)."
},
"color": {
"type": "string",
"default": "#d0312d",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Hex colour, e.g. \"#d0312d\"."
},
"pages": {
"type": "string",
"default": "all",
"description": "Pages to watermark: \"all\", or numbers and ranges such as \"1-3, 5, 8-end\" (\"end\" = last page)."
},
"layout": {
"enum": [
"diagonal",
"center",
"tile",
"bottom"
],
"type": "string",
"default": "diagonal",
"description": "diagonal center, center, tiled pattern, or bottom right."
},
"opacity": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 5,
"description": "Opacity in percent."
},
"font_size": {
"type": "integer",
"default": 60,
"maximum": 200,
"minimum": 8
}
},
"additionalProperties": false
}Reduce PDF file size with Ghostscript, keeping text as text. Either pick a quality level, or give target_kb to get the best-quality file under that size (reports whether the target was met).
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF to compress. |
| level | string | light = best quality, strong = smallest file. Ignored when target_kb is set. |
| grayscale | boolean | Also convert to grayscale (much smaller for scans). |
| target_kb | integer | Optional maximum size in KB (e.g. 200). The server searches for the best quality that fits. |
| remove_images | boolean | Drop all images, keeping only text and vector drawings. |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF to compress.",
"additionalProperties": false
},
"level": {
"enum": [
"light",
"balanced",
"strong"
],
"type": "string",
"default": "balanced",
"description": "light = best quality, strong = smallest file. Ignored when target_kb is set."
},
"grayscale": {
"type": "boolean",
"default": false,
"description": "Also convert to grayscale (much smaller for scans)."
},
"target_kb": {
"type": "integer",
"maximum": 102400,
"minimum": 10,
"description": "Optional maximum size in KB (e.g. 200). The server searches for the best quality that fits."
},
"remove_images": {
"type": "boolean",
"default": false,
"description": "Drop all images, keeping only text and vector drawings."
}
},
"additionalProperties": false
}Convert a PDF to the PDF/A archiving standard (PDF/A-1b, 2b or 3b) with Ghostscript, embedding fonts and an sRGB colour profile.
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF. |
| level | integer | PDF/A part: 1, 2 (recommended) or 3. |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF.",
"additionalProperties": false
},
"level": {
"enum": [
1,
2,
3
],
"type": "integer",
"default": 2,
"description": "PDF/A part: 1, 2 (recommended) or 3."
}
},
"additionalProperties": false
}Remove pages from a PDF. The remaining pages are copied unchanged.
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF. |
| pages* | string | Pages to delete: "all", or numbers and ranges such as "1-3, 5, 8-end" ("end" = last page). |
{
"type": "object",
"required": [
"file",
"pages"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF.",
"additionalProperties": false
},
"pages": {
"type": "string",
"description": "Pages to delete: \"all\", or numbers and ranges such as \"1-3, 5, 8-end\" (\"end\" = last page)."
}
},
"additionalProperties": false
}Convert a bundled DjVu document (scanned book) to PDF with DjVuLibre, keeping its hidden text layer as searchable text when present.
| Argument | Type | Description |
|---|---|---|
| file* | object | The .djvu file. |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The .djvu file.",
"additionalProperties": false
}
},
"additionalProperties": false
}Create a new PDF containing only the selected pages, in the order given (e.g. "5, 1, 2" starts with page 5).
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF. |
| pages* | string | Pages to keep, in this order: "all", or numbers and ranges such as "1-3, 5, 8-end" ("end" = last page). |
{
"type": "object",
"required": [
"file",
"pages"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF.",
"additionalProperties": false
},
"pages": {
"type": "string",
"description": "Pages to keep, in this order: \"all\", or numbers and ranges such as \"1-3, 5, 8-end\" (\"end\" = last page)."
}
},
"additionalProperties": false
}Read basic facts about a PDF without changing it: page count, page sizes, encryption, title/author metadata, file size and whether it has a text layer on page 1. Does not count against the hourly task limit.
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF. |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF.",
"additionalProperties": false
}
},
"additionalProperties": false
}Convert every colour in a PDF to shades of gray; text stays searchable.
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF. |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF.",
"additionalProperties": false
}
},
"additionalProperties": false
}Combine 1 to 20 images (JPG, PNG, WEBP, GIF, BMP) into one PDF, one image per page, in the order given. JPG and PNG are embedded at full resolution.
| Argument | Type | Description |
|---|---|---|
| files* | array | The images, in page order. |
| margin | string | |
| page_size | string | "fit" = each page is the size of its image. |
| orientation | string |
{
"type": "object",
"required": [
"files"
],
"properties": {
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "An input file. Give exactly one of: \"url\" (a public http/https link the server downloads), \"base64\" (the file bytes, base64-encoded, optionally as a data: URL) or \"file_id\" (a result file of an earlier PDF Efforts call, to chain tools without downloading).",
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "The images, in page order."
},
"margin": {
"enum": [
"none",
"small",
"large"
],
"type": "string",
"default": "none"
},
"page_size": {
"enum": [
"fit",
"A4",
"Letter"
],
"type": "string",
"default": "fit",
"description": "\"fit\" = each page is the size of its image."
},
"orientation": {
"enum": [
"auto",
"portrait",
"landscape"
],
"type": "string",
"default": "auto"
}
},
"additionalProperties": false
}Combine 2 to 20 PDF files into one PDF, in the order given. Pages are copied without re-compression.
| Argument | Type | Description |
|---|---|---|
| files* | array | The PDFs to merge, in order. |
{
"type": "object",
"required": [
"files"
],
"properties": {
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "An input file. Give exactly one of: \"url\" (a public http/https link the server downloads), \"base64\" (the file bytes, base64-encoded, optionally as a data: URL) or \"file_id\" (a result file of an earlier PDF Efforts call, to chain tools without downloading).",
"additionalProperties": false
},
"maxItems": 20,
"minItems": 2,
"description": "The PDFs to merge, in order."
}
},
"additionalProperties": false
}Recognize text in a scanned PDF or an image with Tesseract (self-hosted). Output a searchable PDF (invisible text layer) or plain text. Up to 50 pages; about 3-10 seconds per page.
| Argument | Type | Description |
|---|---|---|
| file* | object | The scanned PDF or image (JPG, PNG, WEBP, GIF, BMP). |
| output | string | "pdf" = searchable PDF, "txt" = plain text (also returned inline). |
| language | string | Tesseract language code of the document. |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The scanned PDF or image (JPG, PNG, WEBP, GIF, BMP).",
"additionalProperties": false
},
"output": {
"enum": [
"pdf",
"txt"
],
"type": "string",
"default": "pdf",
"description": "\"pdf\" = searchable PDF, \"txt\" = plain text (also returned inline)."
},
"language": {
"enum": [
"eng",
"urd",
"ara",
"hin",
"ben",
"fra",
"deu",
"spa",
"ita",
"por",
"tur",
"rus",
"ind",
"chi_sim",
"jpn",
"kor"
],
"type": "string",
"default": "eng",
"description": "Tesseract language code of the document."
}
},
"additionalProperties": false
}Convert an office document to PDF with LibreOffice: .doc, .docx, .odt, .rtf, .txt, .xls, .xlsx, .ods, .csv, .ppt, .pptx, .odp, .html. The file name (or URL) must have the right extension.
| Argument | Type | Description |
|---|---|---|
| file* | object | The document. Give "filename" with the extension when sending base64. |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The document. Give \"filename\" with the extension when sending base64.",
"additionalProperties": false
}
},
"additionalProperties": false
}Linearize a PDF ("fast web view") so browsers can show page 1 before the whole file has downloaded.
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF. |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF.",
"additionalProperties": false
}
},
"additionalProperties": false
}Detect tables in a digitally created PDF (statements, invoices, reports) and save them as an .xlsx workbook or .csv. Numbers become real numbers.
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF. |
| format | string |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF.",
"additionalProperties": false
},
"format": {
"enum": [
"xlsx",
"csv"
],
"type": "string",
"default": "xlsx"
}
},
"additionalProperties": false
}Render PDF pages as images (one JPG or PNG file per page).
| Argument | Type | Description |
|---|---|---|
| dpi | integer | 72 = web, 150 = standard, 300 = print quality. |
| file* | object | The PDF. |
| pages | string | Pages to render: "all", or numbers and ranges such as "1-3, 5, 8-end" ("end" = last page). |
| format | string | |
| jpg_quality | integer | JPG quality in percent (JPG only). |
| transparent | boolean | Transparent background (PNG only). |
{
"type": "object",
"required": [
"file"
],
"properties": {
"dpi": {
"enum": [
72,
150,
300
],
"type": "integer",
"default": 150,
"description": "72 = web, 150 = standard, 300 = print quality."
},
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF.",
"additionalProperties": false
},
"pages": {
"type": "string",
"default": "all",
"description": "Pages to render: \"all\", or numbers and ranges such as \"1-3, 5, 8-end\" (\"end\" = last page)."
},
"format": {
"enum": [
"jpg",
"png"
],
"type": "string",
"default": "jpg"
},
"jpg_quality": {
"type": "integer",
"default": 85,
"maximum": 100,
"minimum": 30,
"description": "JPG quality in percent (JPG only)."
},
"transparent": {
"type": "boolean",
"default": false,
"description": "Transparent background (PNG only)."
}
},
"additionalProperties": false
}Extract the plain text of a PDF that has a text layer. The text is returned inline (up to 200,000 characters) and as a .txt file. For scans without text, use ocr_pdf.
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF. |
| page_markers | boolean | Insert "[Page n]" markers between pages. |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF.",
"additionalProperties": false
},
"page_markers": {
"type": "boolean",
"default": true,
"description": "Insert \"[Page n]\" markers between pages."
}
},
"additionalProperties": false
}Rebuild a PDF as an editable Word .docx with paragraphs, fonts, colours, tables, lists, links and pictures. Charts and drawn shapes are not included. Scanned PDFs need ocr_pdf first.
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF. |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF.",
"additionalProperties": false
}
},
"additionalProperties": false
}Encrypt a PDF with AES-256 so it needs a password to open; optionally block printing, copying or editing. The password is used once and not stored.
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF to protect. |
| password* | string | Password needed to open the PDF (at least 4 characters). |
| block_copying | boolean | |
| block_editing | boolean | |
| block_printing | boolean |
{
"type": "object",
"required": [
"file",
"password"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF to protect.",
"additionalProperties": false
},
"password": {
"type": "string",
"maxLength": 128,
"minLength": 4,
"description": "Password needed to open the PDF (at least 4 characters)."
},
"block_copying": {
"type": "boolean",
"default": false
},
"block_editing": {
"type": "boolean",
"default": false
},
"block_printing": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}Rebuild the internal structure of a damaged or corrupted PDF (qpdf, with a Ghostscript fallback).
| Argument | Type | Description |
|---|---|---|
| file* | object | The damaged PDF. |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The damaged PDF.",
"additionalProperties": false
}
},
"additionalProperties": false
}Rotate all or selected pages of a PDF by 90, 180 or 270 degrees clockwise (saved permanently in the file).
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF to rotate. |
| angle | integer | Clockwise rotation in degrees. |
| pages | string | Pages to rotate: "all", or numbers and ranges such as "1-3, 5, 8-end" ("end" = last page). |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF to rotate.",
"additionalProperties": false
},
"angle": {
"enum": [
90,
180,
270
],
"type": "integer",
"default": 90,
"description": "Clockwise rotation in degrees."
},
"pages": {
"type": "string",
"default": "all",
"description": "Pages to rotate: \"all\", or numbers and ranges such as \"1-3, 5, 8-end\" (\"end\" = last page)."
}
},
"additionalProperties": false
}Split one PDF into several PDFs: by page ranges (each range becomes a file), every N pages, or one file per page.
| Argument | Type | Description |
|---|---|---|
| file* | object | The PDF to split. |
| mode | string | "ranges" = one file per range in "ranges"; "every" = a new file every "every" pages; "single" = one file per page. |
| every | integer | For mode "every": pages per file. |
| ranges | string | For mode "ranges": comma-separated ranges, each becomes one file, e.g. "1-3, 4-6, 7-end". |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The PDF to split.",
"additionalProperties": false
},
"mode": {
"enum": [
"ranges",
"every",
"single"
],
"type": "string",
"default": "ranges",
"description": "\"ranges\" = one file per range in \"ranges\"; \"every\" = a new file every \"every\" pages; \"single\" = one file per page."
},
"every": {
"type": "integer",
"default": 2,
"minimum": 1,
"description": "For mode \"every\": pages per file."
},
"ranges": {
"type": "string",
"default": "1-2, 3-end",
"description": "For mode \"ranges\": comma-separated ranges, each becomes one file, e.g. \"1-3, 4-6, 7-end\"."
}
},
"additionalProperties": false
}Remove a KNOWN open password and/or editing restrictions from a PDF. Does not crack unknown passwords. Only use on documents the user owns or may open.
| Argument | Type | Description |
|---|---|---|
| file* | object | The protected PDF. |
| password | string | The current open password. Leave empty if the PDF only has restrictions. |
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL of the file. Private/internal addresses are refused."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content (or a data: URL)."
},
"file_id": {
"type": "string",
"description": "file_id of a result from an earlier call (valid for 60 minutes)."
},
"filename": {
"type": "string",
"description": "Optional file name, e.g. \"report.pdf\". Used for the result name and to detect the type."
}
},
"description": "The protected PDF.",
"additionalProperties": false
},
"password": {
"type": "string",
"default": "",
"maxLength": 128,
"description": "The current open password. Leave empty if the PDF only has restrictions."
}
},
"additionalProperties": false
}Open a public web page in the server's headless Chromium and save it as a PDF (print styles apply). Pages behind a login cannot be reached.
| Argument | Type | Description |
|---|---|---|
| url* | string | The public http(s) address of the page. |
| page_size | string |
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The public http(s) address of the page."
},
"page_size": {
"enum": [
"A4",
"Letter"
],
"type": "string",
"default": "A4"
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 1, 2026.
Takes a password, API key or token as an argument, so the secret passes through the model's context and chat logs.
Fix: Read credentials from the server's own configuration (environment, OAuth) instead of a tool argument.