get_object
Retrieve objects from VolcEngine TOS storage by specifying bucket name and object key. Returns text content directly or binary data as base64 encoded strings.
Instructions
Retrieves an object from VolcEngine TOS. In the GetObject request, specify the full key name for the object.
Args:
bucket: The name of the bucket.
key: The key of the object.
Returns:
If the object content is text format, return the content as string.
If the object content is binary format, return the content as base64 encoded string.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | ||
| key | Yes |