tos_get_object
Download objects from Volcengine TOS storage by specifying bucket name and object key, with optional base64 encoding for content retrieval.
Instructions
从 TOS 下载对象
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket_name | Yes | 存储桶名称 | |
object_key | Yes | 对象键名 | |
return_as_base64 | No | 是否以base64格式返回内容 |
Input Schema (JSON Schema)
{
"properties": {
"bucket_name": {
"description": "存储桶名称",
"type": "string"
},
"object_key": {
"description": "对象键名",
"type": "string"
},
"return_as_base64": {
"default": false,
"description": "是否以base64格式返回内容",
"type": "boolean"
}
},
"required": [
"bucket_name",
"object_key"
],
"type": "object"
}