Graph health
graph_statsCount entities, relations, facts, notes, orphan entities, and top entities; enable check mode to flag old low-importance items and file entities with missing paths for cleanup.
Instructions
Counts of entities, relations, facts and notes, orphan entities (no relations) and the top entities. With check: also old low-importance entities and notes, and file entities whose path no longer exists.
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": "graph_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check | No | Also list cleanup candidates | |
| max_age_days | No | Age threshold for check, default 90 |