object_get_info
Inspect an object’s metadata—size, content type, ETag, last modified time, user metadata, storage class, version, and Object Lock status—without downloading the file.
Instructions
Show an object's size, content type, ETag, last modified time, user metadata, storage class, version and any Object Lock retention or legal hold, without downloading it.
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>",
"key": "<key>"
},
"name": "object_get_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| bucket | Yes | ||
| region | No | ||
| version_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||