Search Documentation
Search across all documentation pages
explore_graph
Navigate the knowledge graph WITHOUT burning LLM tokens. Provide a query (semantic search for entry points) and/or nodeId + nodeType (start from a specific node). Returns a map of nodes (memories + notes with summaries) and edges (relationships). Use this to discover connections, then call read_memories or read_note to dive deeper into specific nodes.
This tool replaces the legacy rlm_query tool -- zero LLM calls, pure DB traversal.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string (max 2000 chars) | optional | Semantic search query to find entry point nodes |
| nodeId | string (UUID) | optional | Start traversal from this specific node |
| nodeType | string | optional | Type of nodeId: note or memory (required when nodeId is provided) |
| maxHops | integer (1-5) | optional | Max traversal depth (default 2, max 5) |
| maxNodes | integer (1-200) | optional | Max nodes to return (default 50, max 200) |
| vaultId | string (UUID) | optional | Vault to scope search to |
Returns#
An object containing a map of nodes (with IDs, types, and summaries) and an array of edges (with source, target, and relationship type). Nodes include both memories and notes discovered during traversal.
Example#
json
{
"tool": "explore_graph",
"arguments": {
"query": "authentication architecture",
"maxHops": 3,
"maxNodes": 25
}
}