upload_file_from_url
Upload a file to ImageKit directly from a URL without downloading it first; set the destination filename, folder, tags, and privacy options.
Instructions
Upload a file to ImageKit from a URL
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": {
"url": "<url>",
"fileName": "<fileName>"
},
"name": "upload_file_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the file to upload | |
| tags | No | Tags to associate with the file | |
| folder | No | Destination folder path | / |
| fileName | Yes | Name for the uploaded file | |
| isPrivateFile | No | Whether file should be private | |
| overwriteFile | No | Whether to overwrite existing file with same name | |
| customMetadata | No | Custom metadata key-value pairs | |
| customCoordinates | No | Custom focus coordinates for cropping (x,y,width,height) | |
| useUniqueFileName | No | Generate unique filename to avoid conflicts |