ncloud_ncs_get_object_retention
Check an object's retention settings in Ncloud Storage, returning lock mode and retention date. Identifies when no retention is configured.
Instructions
[Ncloud Storage] Get the Object Lock retention of an object (GET /{key}?retention): mode (GOVERNANCE | COMPLIANCE) and retainUntilDate. Returns configured=false when the object has no retention (NoSuchObjectLockConfiguration).
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": {
"bucketName": "<bucketName>",
"key": "<key>"
},
"name": "ncloud_ncs_get_object_retention"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key (path) | |
| versionId | No | Version ID of the object (versioning-enabled buckets). Omit for the current version | |
| bucketName | Yes | Name of the Ncloud Storage bucket |