compute_graph_metrics
Compute graph analysis metrics including PageRank, betweenness centrality, degree centrality, and community detection. Returns detailed metrics for all entities and stores them for later retrieval.
Instructions
Compute comprehensive graph analysis metrics including PageRank (importance), betweenness centrality (bridge nodes), degree centrality (connections), and community detection. Returns detailed metrics for all entities and graph-level statistics. Metrics are stored in the database for later retrieval.
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": "compute_graph_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_types | No | Filter graph to specific entity types | |
| min_occurrences | No | Minimum entity occurrences for graph building | |
| min_relationship_strength | No | Minimum relationship strength | |
| store_results | No | Store computed metrics to database |