Upload file
uploads_createUpload a logo, image, PDF, audio or video for designs and landing pages; returns the url to use (logoUrl, fileUrl, avatarUrl…). Send dataBase64 or a public https sourceUrl. Limits: images 2 MB, PDF/audio 25 MB, video 50 MB.
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": {
"contentType": "<contentType>"
},
"name": "uploads_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceUrl | No | Public https URL to copy the file from (fetched with private-network protection). | |
| dataBase64 | No | ||
| contentType | Yes | image/png, image/jpeg, image/webp, image/svg+xml, image/gif, application/pdf, audio/mpeg, audio/mp4, audio/ogg, audio/wav, video/mp4, video/webm, video/quicktime |