graph_query
Query the knowledge graph to find entities connected to a given entity, revealing relationships and dependencies within specified depth.
Instructions
Query the knowledge graph to find entities connected to a given entity. USE THIS WHEN: you want to understand relationships between concepts, find dependencies, or explore how entities are connected. Returns connected entities and relationship types within the specified depth.
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": {
"entity": "<entity>"
},
"name": "graph_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| entity | Yes | ||
| direction | No | both | |
| rel_types | No | ||
| min_weight | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |