get_centrality
Find the most influential entities in a knowledge graph by calculating centrality metrics like degree, betweenness, or PageRank.
Instructions
Calculate centrality metrics for entities in the graph
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": "get_centrality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | Number of top entities to return (default: 10) | |
| algorithm | No | Centrality algorithm to use (default: degree) | |
| direction | No | Direction for degree centrality (default: both) | |
| sampleRate | No | Sample rate for approximation (0.0-1.0, default: 0.2) | |
| approximate | No | Use approximation for faster betweenness centrality (default: false) | |
| dampingFactor | No | Damping factor for PageRank (default: 0.85) |