calculate_graph_centrality
Compute centrality measures (betweenness, closeness, degree) for knowledge graph entities, highlighting key connectors, centrally located nodes, and highly linked entities.
Instructions
Calculate centrality measures for entities in the knowledge graph. Returns betweenness, closeness, and degree centrality. These measures identify entities that bridge different parts of the graph, are close to all others, or have many connections.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_graph_centrality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_types | No | Filter graph to specific entity types (optional) | |
| min_occurrences | No | Minimum entity occurrences (default: 2) | |
| top_n | No | Number of top entities per measure (default: 10) |