kg_community
Find related concepts in your knowledge library by exploring connected notes around a specific topic, grouped by distance.
Instructions
Return the connected cluster around a given knowledge library note.
Performs BFS flood-fill from the given note up to `depth` hops,
returning all reachable notes grouped by distance. Useful for surfacing
related concepts when working on a specific topic.
Args:
note_path: Relative path from knowledge/library/ (e.g. 'disease-areas/[condition].md')
depth: Maximum hop distance to explore (default 2).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_path | Yes | ||
| depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |