fynepdf logo
Docs menu

compress_pdf: Compress PDF

Make a PDF smaller: at a level (low, medium, high) or under a target size in MB. The result says whether the target was met.

A tool of the FynePDF MCP server (https://api.fynepdf.com/mcp). Makes a new file; the original is kept.

Ask for it

  • "Compress this PDF to under 5 MB."
  • "Make this small enough to email."

Inputs

InputTypeRequiredWhat it does
file_idstringA FynePDF file_id from upload_file, import_file_from_url or an earlier tool.
fileobjectA file the person attached in ChatGPT (filled in by ChatGPT).
file_urlstringA public link to the file.
library_file_idstringA file from the person's FynePDF Library (from list_library_files).
level"low" · "medium" · "high"
target_size_mbnumber

The same over HTTP

From your own code, call Compress PDF API.

Connect it

Claude · ChatGPT · Cursor · VS Code · Claude Code