# Download Link

> Save any URL as an agent file.

Downloads a direct URL and persists the response as an `agent_file` with
a `public_url` other tools can read.

## What it can do

| Method | What it does |
| --- | --- |
| `download_link` | Download a direct URL and save the response as an agent file. Use this for files, images, documents, or any URL payload that must be persisted for downstream tools. Do not use it for web search. |

## How to get credentials

None - built-in tool, no setup required.

## Fields to fill in FlyMyAI

None.

## Troubleshooting

- **403 / 401 on download** - the source URL requires authentication.
  Download Link cannot forward cookies or custom headers; use a tool
  that can authenticate with that service, or paste a pre-signed URL.
- **Result is HTML when you expected a file** - the URL resolved to a
  landing page. Use the direct-file URL.
