fynepdf logo
Docs menu

upload_file: Upload a file

Bring a file into FynePDF. Shows a drop zone where the app supports it (Claude, ChatGPT, VS Code); it takes several files at once, e.g. for a merge, and reports their file_ids in order. With file_name and size_bytes it also returns a signed upload_url and a ready curl command, for a code sandbox or agent to PUT the bytes; the file_id works once the upload is done. ChatGPT users can just pass the attached file to any tool instead.

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

Inputs

InputTypeRequiredWhat it does
file_namestringName with extension, e.g. report.pdf.
size_bytesinteger

The same over HTTP

From your own code, call Add a file.

Connect it

Claude · ChatGPT · Cursor · VS Code · Claude Code