list_objects
Retrieve and filter objects stored in a TOS bucket by specifying parameters like bucket name, prefix, or continuation token to manage storage contents.
Instructions
List all objects in a bucket.
Args:
bucket: The name of the bucket.
prefix: The prefix to filter objects.
start_after: The start after key to filter objects.
continuation_token: The continuation token to filter objects.
Returns:
A list of objects.
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>"
},
"name": "list_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | ||
| prefix | No | ||
| start_after | No | ||
| continuation_token | No |