get_knowledge_graph_shortest_path
Find the shortest connection path between any two NZX directors via shared board seats. Uses bidirectional BFS through the director/company interlock graph. Returns the full path (directors and companies traversed) and the degrees of separation. Use when asked how two directors are connected, degrees of separation, or the link between two people in the NZX network.
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": "get_knowledge_graph_shortest_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Slug of the target director (e.g. "mark-cairns") | |
| from | Yes | Slug of the source director (e.g. "joan-withers") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool payload. Null when the call did not produce one — read meta.availability_status to find out why, and do not treat null as zero, empty or "none found". | |
| meta | Yes | ||
| tool | Yes | Tool that produced this result. | |
| schema_version | Yes | Envelope contract version. Bumps only on a breaking shape change. |