Import files from URLs
import_filesDownloads files from public http(s) URLs straight onto the website, e.g. images from Instagram, Wix, Squarespace or an old site. Much faster than downloading and re-uploading them with write_files. Up to 50 URLs per call, 20 MB per file, 100 MB per call. Only for assets (images, video, fonts, PDFs, CSS, JS, HTML): PHP and server config files can't be imported. Signed CDN links expire, so import them right after getting them. Only import content the site owner has the right to use.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>",
"files": "<files>"
},
"name": "import_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The website's domain, as shown by list_sites (e.g. "example.com" or "name.hostingfor.ai"). | |
| files | Yes | The files to import (1 to 50). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| saved | No | ||
| failed | No | ||
| warnings | No |