fynepdf logo
Docs menu

convert_to_pdf: Convert to PDF

Make a PDF from Word, Excel or PowerPoint files, images (one page each, in order), an EPUB, or a public web page (url). For content you write yourself, use create_pdf.

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

Ask for it

  • "Make this Word document a PDF."
  • "Save this web page as a PDF."

Inputs

InputTypeRequiredWhat it does
file_idsarray of stringFynePDF file_ids, in order.
filesarray of objectFiles the person attached in ChatGPT, in order (filled in by ChatGPT).
file_urlsarray of stringPublic links to the files, in order.
library_file_idstringA file from the person's FynePDF Library (from list_library_files).
urlstringA public web page to render as a PDF.
page_layout"desktop" · "tablet" · "mobile"For url.

The same over HTTP

From your own code, call Office to PDF API, Image to PDF API, EPUB to PDF API, HTML to PDF API.

Connect it

Claude · ChatGPT · Cursor · VS Code · Claude Code