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.
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>",
"key": "<key>"
},
"name": "get_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | ||
| key | Yes |