list_objects
Retrieve a list of objects from a specified Cloud Storage bucket in GCP, filtering by prefix and limiting results. Identify and manage stored data efficiently with this tool.
Instructions
List objects in a Cloud Storage bucket.
Args:
project_id: The ID of the GCP project
bucket_name: The name of the bucket to list objects from
prefix: Optional prefix to filter objects by
limit: Maximum number of objects to list (default: 100)
Returns:
List of objects in the specified Cloud Storage bucket
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket_name | Yes | ||
limit | No | ||
prefix | No | ||
project_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"bucket_name": {
"title": "Bucket Name",
"type": "string"
},
"limit": {
"default": 100,
"title": "Limit",
"type": "integer"
},
"prefix": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Prefix"
},
"project_id": {
"title": "Project Id",
"type": "string"
}
},
"required": [
"project_id",
"bucket_name"
],
"title": "list_objectsArguments",
"type": "object"
}