cloudflare_r2_object_get
Retrieve metadata (size, etag, content type, last modified) of an object in a Cloudflare R2 bucket by specifying bucket name and object key.
Instructions
Get metadata of an object in an R2 bucket (size, etag, content type, last modified). Does not return object body.
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>"
},
"name": "cloudflare_r2_object_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_key | Yes | Key (path) of the object | |
| bucket_name | Yes | Name of the R2 bucket |