find_related_entities
Traverse the knowledge graph to find entities related to a given entity, uncovering dependencies and similar concepts within adjustable distance and relationship strength.
Instructions
Find related entities through relationship traversal
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": {
"repository_path": "<repository_path>",
"entity_id": "<entity_id>"
},
"name": "find_related_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repository_path | Yes | The absolute path to the repository to search within | |
| entity_id | Yes | The ID of the entity to find related entities for | |
| relationship_types | No | Optional array of relationship types to filter the traversal. If not provided, all relationship types will be considered | |
| max_distance | No | Maximum distance (number of hops) to traverse in the graph when finding related entities (1-5) | |
| min_strength | No | Minimum relationship strength required to include a relationship in the traversal (0.0 to 1.0) |