get_relationships
Fetch the entities related to entity_id through its declared
relationships. Omit relationship to fetch all of them. direction:
"outbound" (default, live from the source), "inbound" (who points at
this entity — resolved from the graph index, "as of last sync"; the
result's synced_at reports the freshness bound), or "both". An
entity's own EntityType is inferred from entity_id's prefix, so no
separate type parameter is needed. format (json|tsv|md, default
json) applies to this list result only: tsv/md return the related
entities as a compact table.
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 |
|---|---|---|---|
| fields | No | ||
| format | No | json | |
| filters | No | ||
| direction | No | outbound | |
| entity_id | Yes | ||
| target_type | No | ||
| relationship | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||