kg_paths
Retrieve all connection paths between two knowledge notes using BFS, with configurable maximum path length.
Instructions
Find connection paths between two knowledge library notes via BFS.
Args:
from_path: Relative path from knowledge/library/ (e.g. 'concepts/elimination-framework.md')
to_path: Target note path.
max_hops: Maximum path length (default 4).
Returns all paths found up to max_hops, ranked by length.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_path | Yes | ||
| to_path | Yes | ||
| max_hops | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |