API Reference
hm_list_orphans
List nodes with no edges (orphans) for cleanup or review
hm_list_orphans
Returns nodes that have zero edges — no relates_to inbound/outbound and no participates_in. Useful for finding disconnected memories after imports or before cleanup.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | int | 50 | Maximum orphan rows to return |
offset | int | 0 | Pagination offset when total orphans exceed limit |
Response
Returns orphan nodes with key, description, node_type, plus a total count. Use offset for pagination when there are more orphans than limit.
MCP vs REST
This tool is available over MCP (tools/call). There is no /api/v1/memory/... REST mirror for hm_list_orphans; use MCP or the hm CLI which talks to the same tool surface.