object_metadata_update
Updates an object's content type, cache control, or user metadata in place, avoiding re-upload. Fields not provided keep current values; provided metadata replaces existing user metadata.
Instructions
Change an object's content type, cache control or user metadata without re-uploading it (a copy onto itself). Fields not passed keep their current values; metadata, when passed, replaces all user metadata.
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_metadata_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| bucket | Yes | ||
| region | No | ||
| metadata | No | ||
| content_type | No | ||
| cache_control | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||