Find connection path
find_pathsHow two objects in the user's graph are connected: the shortest chain of real relationships between them, up to 3 hops, e.g. person -[worked_with]- person -[works_at]- company. Only deliberate relationships count — bulk-import and system-inferred edges are excluded, so a path is evidence. Returns the path as a list of hops, and an EMPTY list when there is no connection: report that honestly, never invent a path.
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_object_id": "<from_object_id>",
"to_object_id": "<to_object_id>"
},
"name": "find_paths"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_object_id | Yes | Where the path ends (exact object_id). | |
| from_object_id | Yes | Where the path starts (exact object_id). |