# import_file_from_url: Import a file from a URL

Fetch a PDF, Office file, image or EPUB from a public link into FynePDF and get its file_id.

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

## Inputs

| Input | Type | Required | What it does |
|---|---|---|---|
| `url` | string | yes |  |
| `file_name` | string |  |  |

## The same over HTTP

From your own code, call [Add a file](https://fynepdf.com/developers/docs/api/create-file).

## Connect it

[Claude](https://fynepdf.com/developers/docs/mcp/claude) · [ChatGPT](https://fynepdf.com/developers/docs/mcp/chatgpt) · [Cursor](https://fynepdf.com/developers/docs/mcp/cursor) · [VS Code](https://fynepdf.com/developers/docs/mcp/vscode) · [Claude Code](https://fynepdf.com/developers/docs/mcp/claude-code)


---

Open this page in a browser: https://fynepdf.com/developers/docs/mcp/tools/import_file_from_url

More: [All tools](https://fynepdf.com/tools) · [AI agents](https://fynepdf.com/ai/agents) · [llms.txt](https://fynepdf.com/llms.txt) · [Sitemap](https://fynepdf.com/sitemap.xml)
