ncloud_ncs_get_object
Download an object from an Ncloud Storage bucket as text, optionally specifying a version ID or byte range. Restore DEEP_ARCHIVE objects first to avoid InvalidObjectState errors.
Instructions
[Ncloud Storage] Download an object from a Ncloud Storage bucket as text (GET /{key}). Supports a specific versionId and a byte Range. A DEEP_ARCHIVE object must be restored first (ncloud_ncs_restore_object) or the call fails with InvalidObjectState.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key (path) to retrieve | |
| range | No | Byte range to fetch, e.g. 'bytes=0-1023' | |
| versionId | No | Version ID of the object (versioning-enabled buckets). Omit for the current version | |
| bucketName | Yes | Name of the Ncloud Storage bucket | |
| expectedBucketOwner | No | x-amz-expected-bucket-owner — expected owner account number of the bucket: the account number inside any resource NRN (nrn:PUB:<service>:<region>:<accountNo>:…, e.g. from ncloud_resource_list_resources). The 36-char owner ID from ncloud_ncs_list_buckets is rejected as InvalidBucketOwnerAWSAccountID. A different owner is rejected with AccessDenied (403) |