get_relationships
Retrieve relationships for a given entity, filtering by direction and relationship type to uncover connections like uses, indicates, and targets.
Instructions
Get relationships for an entity (who uses what, what indicates what, etc.).
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_id": "<entity_id>"
},
"name": "get_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default: 50, max: 50) | |
| direction | No | Relationship direction: 'from' (outgoing), 'to' (incoming), 'both' (default) | both |
| entity_id | Yes | Entity ID to get relationships for | |
| relationship_types | No | Filter by relationship types (e.g., ['indicates', 'uses', 'targets']) |