uploadFileFromUrl
Upload an image to Printful's library directly from a public URL, making it available for product creation and mockups.
Instructions
Add a file to Printful library 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>"
},
"name": "uploadFileFromUrl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public URL of the image file | |
| filename | No | Optional filename for the file |