Get file metadata
get_file_metadataRetrieve a file's detailed metadata—size, type, timestamps, storage class, and more—using its object key from a CloudSee Drive. Gets file attributes without needing to download the file.
Instructions
Get detailed metadata for a single file or object (size, type, timestamps, storage class, and other attributes) by its object key. Requires the drive (bucketName).
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": {
"objectKey": "<objectKey>"
},
"name": "get_file_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectKey | Yes | Full object key (path) of the file within the drive. | |
| bucketName | No | The CloudSee drive (S3 bucket) name to operate in, e.g. 'max-2778abc0' — find it in the CloudSee dashboard. Required unless CLOUDSEE_DEFAULT_BUCKET is configured on the server. |