locus_kg_traverse
Traverse a knowledge graph from a starting entity via BFS up to a set depth, filtered by predicate or direction, to return every reachable entity and its facts.
Instructions
BFS traversal from a starting entity. Walks the KG graph up to max_depth hops, optionally filtered by predicate or direction. Returns all reachable entities and their facts.
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": {
"start": "<start>"
},
"name": "locus_kg_traverse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | Yes | Starting entity name. | |
| direction | No | both | |
| max_depth | No | ||
| store_path | No | .locus | |
| predicate_filter | No | Only follow these predicates. |