Skip to content
UPG is in early alpha. The specification is still evolving and may change between versions.
Tools/Spec Introspection/get_catalog_entry

get_catalog_entry

Fetch one static spec catalog record by `kind` + `id` (one faceted tool replacing the 15 `get_*-by-id` spec-introspection tools). Reads `@unified-product-graph/core`. `id` is the record identifier for that kind: `playbook`/`framework`/`lens`/`scale`/`anti_pattern`/`tree_pattern`/`domain_ring`/`region`/`approach` take their record id; `entity_meta` takes an entity-type name; `edge_type` takes an edge-type key; `lifecycle`/`type_label` take an entity type; `domain_guide` takes a domain id; `template` takes a template id. Use `list_catalog` to enumerate a kind.

Spec Introspectionatomic (read-only)

Arguments

kindstringrequired

Which static spec catalog to read one record from.

entity_metaedge_typeregiondomain_guidedomain_ringframeworklenslifecycleplaybookscaleanti_patterntree_patterntype_labeltemplateapproach
idstringrequired

The record identifier for that kind (see the tool description for the per-kind id meaning).

Returns

JSON: the delegated get_<kind> record verbatim (shape varies by kind).

See Also