PDF Efforts

Free PDF tools: merge, split, compress, convert, OCR, protect, watermark. No API key.

사용해야 할까요

품질 및 안전성

A
설명 품질
91%
스키마 완전성
98%
이름 품질
85%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

발견 사항 (5)

  • LOWTool 'merge_pdfs' description lacks action verbmerge_pdfs에서
  • LOWTool 'split_pdf' description lacks action verbsplit_pdf에서
  • LOWTool 'images_to_pdf' description lacks action verbimages_to_pdf에서
  • LOWTool 'pdf_to_text' description lacks action verbpdf_to_text에서
  • LOWTool 'add_watermark' description lacks action verbadd_watermark에서

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~11,437토큰 (도구 정의)
~4.9 KB일반적인 응답 크기
상당한 주의 영향 (128k 컨텍스트의 8.94%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "pdf-tools": {
      "url": "https://pdfefforts.com/mcp"
    }
  }
}

원격 엔드포인트

https://pdfefforts.com/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (24)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
⚪merge_pdfs(files)

Combine 2 to 20 PDF files into one PDF, in the order given. Pages are copied without re-compression.

입력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "minItems": 2,
      "maxItems": 20,
      "items": {
        "type": "object",
        "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).",
        "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."
          }
        },
        "additionalProperties": false
      },
      "description": "The PDFs to merge, in order."
    }
  },
  "required": [
    "files"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
⚪split_pdf(file, mode, ranges, every)

Split one PDF into several PDFs: by page ranges (each range becomes a file), every N pages, or one file per page.

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF to split.",
      "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."
        }
      },
      "additionalProperties": false
    },
    "mode": {
      "type": "string",
      "enum": [
        "ranges",
        "every",
        "single"
      ],
      "default": "ranges",
      "description": "\"ranges\" = one file per range in \"ranges\"; \"every\" = a new file every \"every\" pages; \"single\" = one file per page."
    },
    "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\"."
    },
    "every": {
      "type": "integer",
      "minimum": 1,
      "default": 2,
      "description": "For mode \"every\": pages per file."
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
⚪rotate_pdf(file, angle, pages)

Rotate all or selected pages of a PDF by 90, 180 or 270 degrees clockwise (saved permanently in the file).

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF to rotate.",
      "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."
        }
      },
      "additionalProperties": false
    },
    "angle": {
      "type": "integer",
      "enum": [
        90,
        180,
        270
      ],
      "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)."
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
🔴delete_pages(file, pages)

Remove pages from a PDF. The remaining pages are copied unchanged.

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF.",
      "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."
        }
      },
      "additionalProperties": false
    },
    "pages": {
      "type": "string",
      "description": "Pages to delete: \"all\", or numbers and ranges such as \"1-3, 5, 8-end\" (\"end\" = last page)."
    }
  },
  "required": [
    "file",
    "pages"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
🟡extract_pages(file, pages)

Create a new PDF containing only the selected pages, in the order given (e.g. "5, 1, 2" starts with page 5).

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF.",
      "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."
        }
      },
      "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)."
    }
  },
  "required": [
    "file",
    "pages"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
🟢compress_pdf(file, level, target_kb, grayscale, remove_images)

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).

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF to compress.",
      "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."
        }
      },
      "additionalProperties": false
    },
    "level": {
      "type": "string",
      "enum": [
        "light",
        "balanced",
        "strong"
      ],
      "default": "balanced",
      "description": "light = best quality, strong = smallest file. Ignored when target_kb is set."
    },
    "target_kb": {
      "type": "integer",
      "minimum": 10,
      "maximum": 102400,
      "description": "Optional maximum size in KB (e.g. 200). The server searches for the best quality that fits."
    },
    "grayscale": {
      "type": "boolean",
      "default": false,
      "description": "Also convert to grayscale (much smaller for scans)."
    },
    "remove_images": {
      "type": "boolean",
      "default": false,
      "description": "Drop all images, keeping only text and vector drawings."
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
⚪protect_pdf(file, password, block_printing, block_copying, block_editing)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF to protect.",
      "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."
        }
      },
      "additionalProperties": false
    },
    "password": {
      "type": "string",
      "minLength": 4,
      "maxLength": 128,
      "description": "Password needed to open the PDF (at least 4 characters)."
    },
    "block_printing": {
      "type": "boolean",
      "default": false
    },
    "block_copying": {
      "type": "boolean",
      "default": false
    },
    "block_editing": {
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "file",
    "password"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
🔴unlock_pdf(file, password)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The protected PDF.",
      "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."
        }
      },
      "additionalProperties": false
    },
    "password": {
      "type": "string",
      "maxLength": 128,
      "default": "",
      "description": "The current open password. Leave empty if the PDF only has restrictions."
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
⚪repair_pdf(file)

Rebuild the internal structure of a damaged or corrupted PDF (qpdf, with a Ghostscript fallback).

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The damaged PDF.",
      "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."
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
⚪grayscale_pdf(file)

Convert every colour in a PDF to shades of gray; text stays searchable.

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF.",
      "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."
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
🟢optimize_pdf_for_web(file)

Linearize a PDF ("fast web view") so browsers can show page 1 before the whole file has downloaded.

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF.",
      "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."
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
⚪convert_to_pdfa(file, level)

Convert a PDF to the PDF/A archiving standard (PDF/A-1b, 2b or 3b) with Ghostscript, embedding fonts and an sRGB colour profile.

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF.",
      "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."
        }
      },
      "additionalProperties": false
    },
    "level": {
      "type": "integer",
      "enum": [
        1,
        2,
        3
      ],
      "default": 2,
      "description": "PDF/A part: 1, 2 (recommended) or 3."
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
⚪office_to_pdf(file)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The document. Give \"filename\" with the extension when sending base64.",
      "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."
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
⚪images_to_pdf(files, page_size, orientation, margin)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "minItems": 1,
      "maxItems": 20,
      "items": {
        "type": "object",
        "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).",
        "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."
          }
        },
        "additionalProperties": false
      },
      "description": "The images, in page order."
    },
    "page_size": {
      "type": "string",
      "enum": [
        "fit",
        "A4",
        "Letter"
      ],
      "default": "fit",
      "description": "\"fit\" = each page is the size of its image."
    },
    "orientation": {
      "type": "string",
      "enum": [
        "auto",
        "portrait",
        "landscape"
      ],
      "default": "auto"
    },
    "margin": {
      "type": "string",
      "enum": [
        "none",
        "small",
        "large"
      ],
      "default": "none"
    }
  },
  "required": [
    "files"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
⚪pdf_to_images(file, format, dpi, pages, jpg_quality, ...)

Render PDF pages as images (one JPG or PNG file per page).

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF.",
      "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."
        }
      },
      "additionalProperties": false
    },
    "format": {
      "type": "string",
      "enum": [
        "jpg",
        "png"
      ],
      "default": "jpg"
    },
    "dpi": {
      "type": "integer",
      "enum": [
        72,
        150,
        300
      ],
      "default": 150,
      "description": "72 = web, 150 = standard, 300 = print quality."
    },
    "pages": {
      "type": "string",
      "default": "all",
      "description": "Pages to render: \"all\", or numbers and ranges such as \"1-3, 5, 8-end\" (\"end\" = last page)."
    },
    "jpg_quality": {
      "type": "integer",
      "minimum": 30,
      "maximum": 100,
      "default": 85,
      "description": "JPG quality in percent (JPG only)."
    },
    "transparent": {
      "type": "boolean",
      "default": false,
      "description": "Transparent background (PNG only)."
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
🟢pdf_to_text(file, page_markers)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF.",
      "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."
        }
      },
      "additionalProperties": false
    },
    "page_markers": {
      "type": "boolean",
      "default": true,
      "description": "Insert \"[Page n]\" markers between pages."
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
⚪pdf_to_word(file)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF.",
      "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."
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
🟡pdf_to_excel(file, format)

Detect tables in a digitally created PDF (statements, invoices, reports) and save them as an .xlsx workbook or .csv. Numbers become real numbers.

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF.",
      "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."
        }
      },
      "additionalProperties": false
    },
    "format": {
      "type": "string",
      "enum": [
        "xlsx",
        "csv"
      ],
      "default": "xlsx"
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
⚪ocr_pdf(file, language, output)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The scanned PDF or image (JPG, PNG, WEBP, GIF, BMP).",
      "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."
        }
      },
      "additionalProperties": false
    },
    "language": {
      "type": "string",
      "enum": [
        "eng",
        "urd",
        "ara",
        "hin",
        "ben",
        "fra",
        "deu",
        "spa",
        "ita",
        "por",
        "tur",
        "rus",
        "ind",
        "chi_sim",
        "jpn",
        "kor"
      ],
      "default": "eng",
      "description": "Tesseract language code of the document."
    },
    "output": {
      "type": "string",
      "enum": [
        "pdf",
        "txt"
      ],
      "default": "pdf",
      "description": "\"pdf\" = searchable PDF, \"txt\" = plain text (also returned inline)."
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
🟡add_watermark(file, text, layout, font_size, color, ...)

Stamp a text watermark (e.g. CONFIDENTIAL, DRAFT) on all or selected pages. Text must use Latin characters (Western European).

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF.",
      "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."
        }
      },
      "additionalProperties": false
    },
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Watermark text (Latin characters)."
    },
    "layout": {
      "type": "string",
      "enum": [
        "diagonal",
        "center",
        "tile",
        "bottom"
      ],
      "default": "diagonal",
      "description": "diagonal center, center, tiled pattern, or bottom right."
    },
    "font_size": {
      "type": "integer",
      "minimum": 8,
      "maximum": 200,
      "default": 60
    },
    "color": {
      "type": "string",
      "pattern": "^#[0-9a-fA-F]{6}$",
      "default": "#d0312d",
      "description": "Hex colour, e.g. \"#d0312d\"."
    },
    "opacity": {
      "type": "integer",
      "minimum": 5,
      "maximum": 100,
      "default": 25,
      "description": "Opacity in percent."
    },
    "pages": {
      "type": "string",
      "default": "all",
      "description": "Pages to watermark: \"all\", or numbers and ranges such as \"1-3, 5, 8-end\" (\"end\" = last page)."
    }
  },
  "required": [
    "file",
    "text"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
🟡add_page_numbers(file, position, format, start, font_size, ...)

Add page numbers as real text in a chosen corner with a custom format such as "Page {n} of {total}".

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF.",
      "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."
        }
      },
      "additionalProperties": false
    },
    "position": {
      "type": "string",
      "enum": [
        "bc",
        "br",
        "bl",
        "tc",
        "tr",
        "tl"
      ],
      "default": "bc",
      "description": "b/t = bottom/top, c/r/l = center/right/left."
    },
    "format": {
      "type": "string",
      "maxLength": 60,
      "default": "Page {n} of {total}",
      "description": "{n} = page number, {total} = page count. Latin characters only."
    },
    "start": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000,
      "default": 1,
      "description": "Number of the first numbered page."
    },
    "font_size": {
      "type": "integer",
      "minimum": 6,
      "maximum": 36,
      "default": 10
    },
    "skip_first_page": {
      "type": "boolean",
      "default": false,
      "description": "Do not number the first page (cover)."
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
🟡webpage_to_pdf(url, page_size)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "The public http(s) address of the page."
    },
    "page_size": {
      "type": "string",
      "enum": [
        "A4",
        "Letter"
      ],
      "default": "A4"
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
⚪djvu_to_pdf(file)

Convert a bundled DjVu document (scanned book) to PDF with DjVuLibre, keeping its hidden text layer as searchable text when present.

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The .djvu file.",
      "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."
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}
🟢get_pdf_info(file)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "file": {
      "type": "object",
      "description": "The PDF.",
      "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."
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "Result files. Download them before expires_at; pass file_id to another tool to chain.",
      "items": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "download_url": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "description": "ISO 8601 time when the file is deleted."
          }
        },
        "required": [
          "file_id",
          "name",
          "mime_type",
          "size_bytes",
          "download_url",
          "expires_at"
        ]
      }
    },
    "text": {
      "type": "string",
      "description": "Extracted text (pdf_to_text, ocr_pdf)."
    },
    "info": {
      "type": "object",
      "description": "Facts about the PDF (get_pdf_info) or the result (e.g. target_met for compress_pdf)."
    },
    "note": {
      "type": "string",
      "description": "Anything the user should know about the result."
    }
  },
  "required": [
    "files"
  ]
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 24개