Skip to content

Upload Image

Tool name: open-email-editor-image-upload

Opens an MCP App file picker for uploading a local image into the email-editor library. The user chooses the file; this call itself stores nothing. Public image URLs use upload-email-editor-image-from-url instead.

Input schema

accountIdnull or integer, >= 1

User ID of the account; omit for the account the access token works in

Default:null
Input example
{ "accountId": null }

Output schema

accountIdintegerrequired
uploadedbooleanrequired
storedAsstring or nullrequired
imageobject or nullrequired
foldersArray of stringsrequired
htmlstringrequired
Output example
{ "accountId": 0, "uploaded": true, "storedAs": "string", "image": { "url": "string", "path": "string", "fileName": "string", "mimeType": "string", "sizeBytes": 0, "uploadedAt": "string", "width": 0, "height": 0 }, "folders": [ "string" ], "html": "string" }