traverse_graph
Traverse a knowledge graph starting from any entity to find connected entities via relations, with configurable depth and direction.
Instructions
Traverse the knowledge graph from a starting entity to find connected entities via relations
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": "traverse_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | Yes | Name of the entity to start traversal from | |
| depth | No | Number of hops to traverse (default: 1) | |
| direction | No | Direction of traversal: out (outgoing relations), in (incoming relations), or both (default: both) | both |