Copy Catalog Item (Preview)
oracle_analytics-copy_catalog_item
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"createIntermediateFolders": {
"type": "boolean"
},
"destId": {
"type": "string"
},
"destParentId": {
"type": "string"
},
"id": {
"type": "string"
},
"newItemName": {
"type": "string"
},
"overwrite": {
"type": "boolean"
},
"type": {
"type": "string"
},
"userApproved": {
"type": "boolean"
}
}
}Copies a catalog item to a destination item or parent folder.
This is a modification tool and requires approval.
Important Parameters
| Parameter | Type | Notes |
|---|---|---|
type |
string | Catalog type of the source item. |
id |
string | Source item ID. |
destId |
string | Destination item ID. |
destParentId |
string | Destination parent folder ID. |
newItemName |
string | Optional copied item name. |
overwrite |
boolean | Whether to overwrite an existing item. |
createIntermediateFolders |
boolean | Create missing destination folders where supported. |
userApproved |
boolean | Must be true or confirmed through approval.
|
Example
{
"jsonrpc": "2.0",
"id": 80,
"method": "tools/call",
"params": {
"name": "oracle_analytics-copy_catalog_item",
"arguments": {
"type": "workbooks",
"id": "base64url-source-workbook-id",
"destParentId": "base64url-destination-folder-id",
"newItemName": "Revenue Overview Copy",
"overwrite": false,
"userApproved": true
}
}
}Use Cases
- Make a backup before replacing a workbook.
- Promote a workbook from a development folder to a shared folder.
- Clone a template workbook before editing.