Connection Path
get_connection_pathFinds the shortest link chain between two notes by following links in either direction, so you can trace how ideas connect.
Instructions
Find the shortest chain of links between two notes, following links in either direction.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>",
"target": "<target>"
},
"name": "get_connection_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Path of the starting note, such as `"Ideas/spark.md"`. | |
| target | Yes | Path of the destination note. | |
| max_depth | No | Most links to follow, 1 to 10 (default 10). | |
| wait_for_pending_writes | No | Wait for recent index writes. On timeout, answer from the current index with _meta.index_stale=true. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||