centrality_measures
Calculate degree, betweenness, closeness, and eigenvector centrality for graphs to identify node importance and analyze network structure.
Instructions
Calculate multiple centrality measures (degree, betweenness, closeness, eigenvector)
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": {
"graph": "<graph>"
},
"name": "centrality_measures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes | ||
| measures | No | List of measures: degree, betweenness, closeness, eigenvector |