kg_get_relationships
ActiveTool of io.github.saloprj/dialogbrain
Get relationships for a specific entity from Knowledge Graph. USE WHEN: - 'Кто работает над X?' - filter by works_on - 'С кем общался Y?' - filter by discussed_with - 'Кто из компании Z?' - filter by member_of - 'Что связано с W?' - no filter, get all REQUIRES: entity_id from previous kg.find_entity step. Use: {{step_N.entity_id}} where N is the find_entity step number.
Parameters schema
{
"type": "object",
"required": [
"entity_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum relationships to return (1-50). Default: 20"
},
"direction": {
"enum": [
"incoming",
"outgoing",
"both"
],
"type": "string",
"default": "both",
"description": "Relationship direction:\n- 'outgoing': Entity → Others\n- 'incoming': Others → Entity\n- 'both': All relationships (default)"
},
"entity_id": {
"type": "string",
"description": "Entity ID from kg.find_entity step. Use {{step_N.entity_id}} reference."
},
"relation_types": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by relationship types (optional):\nPeople: works_on, works_for, member_of, manages, knows, client_of, provides_service\nCommunication: discussed_with, participated_in, mentioned_in\nOrg/Project: developed_by, funded_by, partnered_with, integrates_with, depends_on, part_of\nDocument: issued_by, issued_to, signed_by, authored_by\nOther: uses, located_in, about, follows, owns, related_to"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
io.github.saloprj/dialogbrain
https://github.com/saloprj/dialogbrain-mcp
1/7 registries