kg_community
Explores the connected cluster around a knowledge library note using BFS flood-fill, returning related notes grouped by distance. Helps surface related concepts for a specific topic.
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 |