uploadFile
Upload an image file to Printful for print-on-demand products. Returns a file ID needed to create products.
Instructions
Upload a design file (image) to Printful. Returns file ID to use when creating products.
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": {
"file_path": "<file_path>"
},
"name": "uploadFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | File type: 'default' for print file, 'preview' for mockup preview | |
| file_path | Yes | Local filesystem path to the image file |