noark5_list_parents
List all parent entities of any archive entity via HATEOAS discovery, handling multiple parents and varying parent types. Returns titles, types, and URLs.
Instructions
List all parent entities of an entity using HATEOAS discovery.
Uses N5TG-compliant link detection (per chapter 6 "Identifisere entitetstype" and "Rekursive entitetshierarkier") to find parent links via the entity's relation key and over{xx} relations for recursive hierarchies.
Some entities can have multiple parents simultaneously (e.g., dokumentbeskrivelse linked to several registreringer). Others have only one parent at a time but can be under different parent types (e.g., mappe under arkivdel, klasse, or another mappe). This tool finds all current parents and returns details about each.
Args: entity_url: The self-href URL of the entity to list parents for.
Returns formatted list of parent entities with their titles, types, and URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |