upload_file
Transfer files from local storage to a specified bucket in MinIO object storage using bucket name, object name, and file path. Optional metadata can be added during the upload process.
Instructions
上传文件到存储桶
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucketName | Yes | 存储桶名称 | |
filePath | Yes | 本地文件路径 | |
metadata | No | 文件元数据(可选) | |
objectName | Yes | 对象名称 |
Input Schema (JSON Schema)
{
"properties": {
"bucketName": {
"description": "存储桶名称",
"type": "string"
},
"filePath": {
"description": "本地文件路径",
"type": "string"
},
"metadata": {
"description": "文件元数据(可选)",
"type": "object"
},
"objectName": {
"description": "对象名称",
"type": "string"
}
},
"required": [
"bucketName",
"objectName",
"filePath"
],
"type": "object"
}