Upload image
upload_imageHost a PNG, JPEG, GIF or WebP image of up to 5 MB for use in emails, and get its public url to put in an . Prefer url (Sendocado downloads it) over base64_data, which passes every byte through your context. The type is read from the file itself.
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": {
"project_id": "<project_id>"
},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public address Sendocado downloads the image from. | |
| file_name | No | ||
| project_id | Yes | ||
| base64_data | No | The image's bytes as base64, when it has no public address. |