upload_file
Upload a single file from your local system to Tencent Cloud Object Storage (COS) for secure cloud storage management.
Instructions
上传单个文件到腾讯云COS
Input Schema
Name | Required | Description | Default |
---|---|---|---|
custom_domain | No | 自定义访问域名(可选) | |
file_path | Yes | 本地文件路径 | |
object_key | No | 上传后在COS中的对象键名,如果未提供则使用文件名 |
Input Schema (JSON Schema)
{
"properties": {
"custom_domain": {
"description": "自定义访问域名(可选)",
"type": "string"
},
"file_path": {
"description": "本地文件路径",
"type": "string"
},
"object_key": {
"description": "上传后在COS中的对象键名,如果未提供则使用文件名",
"type": "string"
}
},
"required": [
"file_path"
],
"type": "object"
}