list_relationships
Lists an entity's relationships by entity type and code, with optional direction, to reveal incoming or outgoing graph connections.
Instructions
List relationships for an entity.
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_type": "<entity_type>",
"code": "<code>"
},
"name": "list_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| direction | No | outgoing | |
| entity_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |