Skip to content
Tools/Spec Introspection/get_valid_children

get_valid_children

Return valid direct-child entity types for a parent type. Wraps `getValidChildren` / `UPG_VALID_CHILDREN`. Empty array when none registered. Answers "what can I create under this?". Pairs with `get_entity_schema`.

Spec Introspectionatomic (read-only)

Arguments

parent_typestringrequired

Canonical parent entity type.

Returns

Shape
{ parent_type, valid_children: string[] }

Examples

Live call against the Notion example graph.

Input

{
  "parent_type": "example"
}

Output

{
  "parent_type": "example",
  "valid_children": []
}

See Also