upload_image
Upload and store images in the DevHub media gallery using base64-encoded content. Supports webp, jpeg, and png formats. Include a filename with the image for easy management.
Instructions
Upload an image to the DevHub media gallery
Supports webp, jpeg and png images
Args:
base64_image_content: Base 64 encoded content of the image file
filename: Filename including the extension
Input Schema
Name | Required | Description | Default |
---|---|---|---|
base64_image_content | Yes | ||
filename | Yes |
Input Schema (JSON Schema)
{
"properties": {
"base64_image_content": {
"title": "Base64 Image Content",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
}
},
"required": [
"base64_image_content",
"filename"
],
"title": "upload_imageArguments",
"type": "object"
}