relations
List an entity's typed connections (incoming and outgoing) with direction tags, defaulting to current graph state and optionally including expired history or a time-travel view.
Instructions
List an entity's typed relations (incoming + outgoing), each row tagged direction=outgoing|incoming relative to the queried entity so directional predicates (reports_to, manages) read unambiguously. Endpoint names are hydrated. LLM-free. The DEFAULT view is point-in-time NOW: only edges valid now and not superseded; pass includeInactive=true for expired/superseded history, or time-travel with at/asOf. Filter by predicate. Role/title is often carried as an attributes.role string on a works_at/founded edge rather than a separate has_role edge; each row's sourceEventUid links back to the originating episode. Pair with neighbors to walk further.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Valid-time anchor (RFC 3339 UTC). Returns relations live at this instant. Defaults to now. | |
| asOf | No | Transaction-time anchor (RFC 3339 UTC). Hides relations recorded after this instant. | |
| limit | No | Maximum relations to return. Defaults to 50. | |
| entity | Yes | Entity whose relations to list: an entities/{uid} ref (as returned in a recall hit's entities[]), a bare uid, or a display name (resolved case-insensitively; an unknown or ambiguous name returns an error naming the candidate uids so you can retry). | |
| scopes | No | Scopes to read from: project, personal, team. Defaults to project+personal. Unknown values are rejected. | |
| predicates | No | Restrict to these predicates, e.g. ["works_at","reports_to"]. Omit to return all. | |
| includeInactive | No | Return superseded / expired relations too (full history). Off by default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relations | Yes |