list-objects
Retrieve and filter objects from an S3 bucket using a prefix or limit results with maxKeys, enabling efficient management of stored files within AWS S3.
Instructions
List objects in an S3 bucket
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket | Yes | Name of the S3 bucket | |
maxKeys | No | Maximum number of objects to return | |
prefix | No | Prefix to filter objects (like a folder) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"bucket": {
"description": "Name of the S3 bucket",
"type": "string"
},
"maxKeys": {
"description": "Maximum number of objects to return",
"type": [
"number",
"null"
]
},
"prefix": {
"description": "Prefix to filter objects (like a folder)",
"type": [
"string",
"null"
]
}
},
"required": [
"bucket"
],
"type": "object"
}