list_objects
Retrieve objects from a Google Cloud Storage bucket using project ID and bucket name. Optionally filter by prefix and set a limit.
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
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": {
"project_id": "<project_id>",
"bucket_name": "<bucket_name>"
},
"name": "list_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| prefix | No | ||
| project_id | Yes | ||
| bucket_name | Yes |