Find how two concepts connect
find_pathThe shortest chain of links joining two concepts of one tree, following links either way (at most 6 links), each step saying which way its link points. For questions like "how does A relate to B?".
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": {
"from": "<from>",
"to": "<to>"
},
"name": "find_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The other concept's ID, in the same tree as `from`. | |
| from | Yes | Concept ID, its tree first: `company:product/okforest-product-brief`. In a Forest of one tree, the tree may be left out. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree | Yes | The tree they're in, and the commit it was read at. | |
| steps | Yes | The concepts from `from` to `to`, both included; empty when they aren't joined. | |
| connected | Yes | Whether a chain of at most 6 links joins them. |