Upload to Sirv from URL
sirv_cdn_upload_from_urlCopy a file from a public URL into your connected Sirv account, choosing a folder and filename or full target path. Publishes AI results to Sirv and returns the file's URL and path.
Instructions
Copy a file from a public URL into the connected Sirv account. Give folder (default /ai-tools) and filename, or the full target_path. A file already at that path is overwritten.
Use it to publish an AI result on Sirv. To keep it in the Studio library instead, use sirv_import_asset_from_url.
Returns the Sirv URL and path of the file.
Credits: free.
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": {
"image_url": "<image_url>"
},
"name": "sirv_cdn_upload_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | No | Workspace id from sirv_list_organizations. Default: the workspace you signed in to | |
| folder | No | Destination folder in Sirv. Default: /ai-tools | |
| filename | No | File name in Sirv, with its extension. Default: the name in the URL | |
| image_url | Yes | Public URL of the file to copy into Sirv | |
| target_path | No | Full destination path, such as /products/boot.jpg. Use it in place of folder and filename |