Copy Decisioning Asset
copy_decisioning_assetCopy rule sets, decisions, segmentation trees, code files, value lists, or lookup tables to a new folder with a new name, optionally from a specific revision.
Instructions
Copy a rule set (with its rules), decision, segmentation tree, code file, value list or lookup table.
Custom functions and function categories cannot be copied. A lookup
table's copy holds the entries of its active version (or of
revision_id, a version ID or label) and is not active itself.
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": {
"asset_type": "<asset_type>",
"asset_id": "<asset_id>",
"name": "<name>"
},
"name": "copy_decisioning_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the copy. | |
| folder | No | Where to store the copy: a folder path such as ``/Public/Content/Decisions``, ``My Folder``, a folder ID, or a folder URI. Omit to use the default folder; if there is none, ask the user. | |
| asset_id | Yes | The ID of the source. | |
| asset_type | Yes | rule_set, decision, segmentation_tree, code_file, value_list or lookup_table. | |
| revision_id | No | Copy this revision instead of the current state. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||