Get object metadata
gcs_get_object_metadataRetrieve metadata (size, contentType, md5Hash) for a Google Cloud Storage object without downloading its content. Check file properties before accessing data.
Instructions
Fetches metadata for one object (size, contentType, md5Hash, generation, ...) without downloading its content.
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>",
"object": "<object>"
},
"name": "gcs_get_object_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Bucket name (without gs:// prefix) | |
| object | Yes | Object path/key within the bucket |