Get Object Metadata
get_object_metadataReturn an object's size, timestamps, ETag, content type, metadata, and tags.
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_name": "<bucket_name>",
"object_key": "<object_key>",
"bucket_token": "<bucket_token>"
},
"name": "get_object_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_key | Yes | Complete object key, including path-like prefixes. | |
| bucket_name | Yes | Bucket to operate on. | |
| bucket_token | Yes | Secret bearer token returned with the public bucket. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| etag | No | Storage entity tag; it is not always a content checksum. | |
| tags | No | ||
| metadata | No | User-defined object metadata. | |
| object_key | Yes | Complete object key, including path-like prefixes. | |
| size_bytes | Yes | Object size in bytes. | |
| version_id | No | ||
| bucket_name | Yes | Bucket to operate on. | |
| content_type | No | ||
| last_modified | No | UTC time of the most recent modification. |