Traverse Knowledge Graph
traverse_knowledge_graphExplore connected nodes and relationships in a knowledge graph by walking from a starting entity to a specified depth, helping users discover connections and patterns within structured data.
Instructions
Walk the graph from a starting entity, following relationships up to a specified depth. Returns connected nodes and relationships.
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": {
"project_code": "<project_code>",
"start_entity_type": "<start_entity_type>",
"start_entity_id": "<start_entity_id>"
},
"name": "traverse_knowledge_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_code | Yes | Project code — from list_knowledge_projects | |
| start_entity_type | Yes | Entity type of the starting node (e.g., 'Topic') | |
| start_entity_id | Yes | Entity ID of the starting node | |
| max_depth | No | Maximum traversal depth (default 3, max 5) | |
| direction | No | both | |
| environment | No | staging |