upload_image_batch
Upload multiple images to a Supabase Storage bucket using file paths or base64 data, organizing them in specified folders with batch tracking for efficient image management.
Instructions
Upload multiple images to designated bucket and folder (supports both file paths and base64 data)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | Unique batch identifier | |
| bucket_name | Yes | Target bucket name | |
| folder_prefix | Yes | Folder organization (original/processed) | |
| image_data | No | Base64 encoded image data (for Claude Desktop compatibility) | |
| image_paths | No | Local file paths to upload (for local testing) | |
| user_id | Yes | User identifier |
Input Schema (JSON Schema)
{
"properties": {
"batch_id": {
"description": "Unique batch identifier",
"maxLength": 64,
"type": "string"
},
"bucket_name": {
"description": "Target bucket name",
"maxLength": 63,
"minLength": 3,
"type": "string"
},
"folder_prefix": {
"description": "Folder organization (original/processed)",
"maxLength": 100,
"type": "string"
},
"image_data": {
"description": "Base64 encoded image data (for Claude Desktop compatibility)",
"items": {
"additionalProperties": false,
"properties": {
"content": {
"description": "Base64 encoded file content",
"maxLength": 67108864,
"type": "string"
},
"filename": {
"description": "Original filename with extension",
"maxLength": 255,
"type": "string"
},
"mime_type": {
"description": "MIME type of the file",
"enum": [
"image/jpeg",
"image/png",
"image/webp",
"image/gif"
],
"type": "string"
}
},
"required": [
"filename",
"content",
"mime_type"
],
"type": "object"
},
"maxItems": 500,
"minItems": 1,
"type": "array"
},
"image_paths": {
"description": "Local file paths to upload (for local testing)",
"items": {
"maxLength": 4096,
"type": "string"
},
"maxItems": 500,
"minItems": 1,
"type": "array"
},
"user_id": {
"description": "User identifier",
"maxLength": 36,
"type": "string"
}
},
"required": [
"bucket_name",
"batch_id",
"folder_prefix",
"user_id"
],
"type": "object"
}