uploadMediaFromUrlTool
Upload one product picture from a public URL (the server downloads it) or from base64 (for agents that can read files; up to 3MB). The bytes must really be JPG, PNG or WebP (checked, not trusted from the name); a URL picture is up to 10MB. Internal or private addresses are refused. Returns uploadId for setProductImages or createRikmaProduct. For pictures the user attached to the chat, use createUploadSession instead. Members only. Docs: https://1lev1.com/mcp#uploadMediaFromUrlTool
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL of the picture. | |
| base64 | No | The picture as base64 or a data: URL. Use url or base64, not both. | |
| fileName | No | A name for the stored file. | |
| projectId | Yes | Rikma (project) id, from findUserProjectsTool. You must be a member. |