Wiki Graph Query
Explore the neighborhood of a node in the knowledge graph. Used for understanding context before updates, finding connection opportunities, and identifying orphans.
HARD-GATE
Tool
vault_query_graph
Parameters
| Param | Required | Description |
|---|---|---|
| node | yes | Starting node path (e.g., "concepts/attention.md") |
| direction | yes | Traversal direction: "in", "out", or "both" |
| edge_type | no | Filter by edge type |
| depth | no | Traversal depth (default 1, max 3) |
Protocol
- Confirm node file exists in vault
- Call
vault_query_graphwith node, direction, and optional filters - Analyze subgraph: identify clusters, orphan branches, missing connections
- Return subgraph data to calling tactic
Yield
Returns: { nodes_found: number, edges_found: number, subgraph: object }