query_memory
Execute a structured query plan over your encrypted knowledge graph. Returns STRUCTURE ONLY (node_type, name_hash, relationships, chunk_ids, timestamps) — never content.
Plan schema:
{
"entity_filters": [{"node_type": <type>} | {"name_hash": <sha256-hex>}],
"edge_filters": [{"relationship": <rel>, "direction": "out"|"in"|"both"}],
"temporal_bounds":{"valid_from_after": <ISO8601>, "valid_to_before": <ISO8601>},
"limit": <int <= 200>,
"include_neighbours_depth": <0-5>
}
node_type in {entity, concept, decision, person, organisation, event, source, synthesis}.
relationship in {references, contradicts, supports, supersedes, caused_by, related_to,
part_of, informed_by, led_to, verifies}. Account scope is enforced server-side; it cannot be
set from the plan.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The structured query plan (a JSON object): entity_filters [{node_type} | {name_hash}], edge_filters [{relationship, direction out|in|both}], temporal_bounds {valid_from_after, valid_to_before} (ISO 8601), limit (<= 200), include_neighbours_depth (0-5). The schema and the allowed node_type / relationship values are in this tool's description. | |
| include_chunks | No | Also return the chunk ids behind each node. Default false. |