Hostinger OpenClaw VPS
upload_media
Pass public https URLs — base64 ONLY for images you generated yourself. Adds up to 16 images to the Media Library in ONE call (all plans; images only, max 5MB each). For any image that exists on the web, pass its URL; the Dplooy server downloads it directly. base64 is STRICTLY the fallback for images you generated yourself that exist nowhere on the web — NEVER base64-re-encode an image that has a URL. Batch ALL the site's images into one call, do not call once per image. Each image returns a stable public URL for <img> tags plus the { mediaId, path } reference Data image cells need. Items succeed or fail independently. Upload images BEFORE writing the site's HTML. TIP: images the user already added to their Media Library are listed by list_media — reuse those URLs directly, no upload needed.
Remote (network-hosted)
Other tools also called upload_media?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "ALWAYS FIRST: a public https:// URL of the image — the Dplooy server downloads it directly (fast). REQUIRED for any image that exists on the web: stock photos, images from an existing site, anything the user pointed you to. If the image has a URL, use this field — no exceptions."
},
"base64": {
"type": "string",
"description": "STRICT FALLBACK, only when no URL exists: for files you generated yourself (SVGs, small graphics) that are nowhere on the web — the content as base64 (no data: prefix). NEVER re-encode a web image as base64."
},
"filename": {
"type": "string",
"description": "Filename with extension, e.g. 'hero.jpg'. Optional — derived from the URL or the file's real type when omitted."
}
}
},
"maxItems": 16,
"minItems": 1,
"description": "Up to 16 images in ONE call — batch your uploads instead of calling once per image. Each image needs exactly one of url or base64. Items succeed or fail independently."
}
}
}