Get object metadata without downloading its content
scaleway_s3_head_objectRetrieve object metadata (content-type, size, etag, last-modified, user metadata) without downloading the body. Reduces costs when only metadata is needed.
Instructions
Fetch an object's metadata (content-type, size, etag, last-modified, user metadata) without transferring its body. Cheaper than scaleway_s3_get_object when you don't need the 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>",
"key": "<key>"
},
"name": "scaleway_s3_head_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key (the full path within the bucket), e.g. 'invoices/2026-08/inv-001.pdf'. | |
| bucket | Yes | Bucket name, e.g. 'payments-backups'. | |
| region | No | Region the bucket lives in. Defaults to the server's configured region (fr-par). |