Get Node Relationships
get_node_relationshipsGet all relationships connected to a specific node. Supports direction filtering (incoming, outgoing, both) and relationship type filtering.
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_id": "<project_id>",
"entity_type": "<entity_type>",
"entity_id": "<entity_id>"
},
"name": "get_node_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | No | Filter: incoming, outgoing, or both (default: both) | |
| entity_id | Yes | The node's entity_id | |
| project_id | Yes | Project ID (UUID) | |
| entity_type | Yes | Entity key of the node | |
| environment | No | Environment: staging or production (default: staging) | |
| rel_type_filter | No | Filter by relationship type (UPPER_SNAKE_CASE) |