relations
Resolve entities from YAML frontmatter to find their outbound and inbound relations, including replaces, depends_on, fixes, and implements edges.
Instructions
Return structured relations for an entity, derived from YAML frontmatter. Read-only.
Entities and edges are declared **explicitly** in markdown frontmatter:
---
id: adr-0042
type: architecture
replaces: [adr-0017]
depends_on: [service-summarizer]
status: active
---
Recognised relation keys: replaces, depends_on, fixes, implements.
Use timeline() to see when the doc holding an entity changed over time.
Args:
entity_id: Frontmatter ``id`` value of the entity to resolve
project: Target project name (optional)
Returns:
Markdown showing the entity, its outbound edges (declared on
this doc), and inbound edges (other docs that reference it).
Lists are truncated; entities not found return a hint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| entity_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |