Get Decisioning Asset
get_decisioning_assetFetch decisioning content such as rule sets, code files, value lists, or lookup tables—or a specific revision—with folder context, and summarize oversized assets.
Instructions
Fetch one piece of decisioning content, or one of its revisions, with the folder it is in.
A rule set comes with its rules, a code file with its code, a value
list with the entries of its newest version, a lookup table with its
versions, the entries of its active one (get_lookup_table pages and
filters them) and the rule sets that use it. Content larger than
150,000 characters — a big segmentation tree — is summarised (counts,
root variable) instead of returned whole; summary_only asks for the
summary of anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | The ID (not the name — list_decisioning_assets returns both); a lookup table may also be given by its exact name. | |
| asset_type | Yes | rule_set, decision, segmentation_tree, code_file, value_list, lookup_table, custom_function or function_category. | |
| revision_id | No | A revision to read instead of the current state (for a lookup table: a version ID or label). | |
| summary_only | No | Return the summary rather than the full content. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||