upload_to_supabase
Upload base64-encoded images or analysis results to Supabase Storage with security validation, specifying bucket, path, and optional metadata.
Instructions
Upload image or analysis results to Supabase Storage with security validation
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": {
"image_data": "<image_data>",
"bucket": "<bucket>",
"path": "<path>",
"supabase_url": "<supabase_url>",
"supabase_key": "<supabase_key>"
},
"name": "upload_to_supabase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Storage path within bucket | |
| bucket | Yes | Supabase bucket name | |
| metadata | No | Additional metadata to store with the file (optional) | |
| image_data | Yes | Base64 encoded image data | |
| supabase_key | Yes | Supabase service role key | |
| supabase_url | Yes | Supabase project URL |