bulk_upload_files
Upload multiple files or entire folders to cloud storage, with options to filter by file type and set storage paths.
Instructions
Upload multiple local files to storage with optional filtering by file type. Can upload individual files or an entire folder with selective file extensions.
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": {
"bucket": "<bucket>"
},
"name": "bulk_upload_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Supabase bucket name | |
| files | No | Array of files: [{local_path, storage_path}, ...]. Either files or folder_path required. | |
| folder_path | No | Local folder path to upload (absolute or relative to buckets/{bucket}). Discovers files recursively. | |
| storage_prefix | No | Optional prefix for storage paths when uploading from folder (e.g., "products/" prepends to all files) | |
| ignore_extensions | No | File extensions to skip (e.g., [".sql", ".tmp", ".md"]). Case-insensitive. | |
| upsert | No | Overwrite files if they exist |