mempalace_kg_query
Query an entity's relationships from the knowledge graph, returning typed facts with temporal validity. Filter by date to see past truths.
Instructions
Query the knowledge graph for an entity's relationships. Returns typed facts with temporal validity. E.g. 'Max' → child_of Alice, loves chess, does swimming. Filter by date with as_of to see what was true at a point in time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Entity to query (e.g. 'Max', 'MyProject', 'Alice') | |
| as_of | No | Date filter — only facts valid at this date (YYYY-MM-DD, optional) | |
| direction | No | outgoing (entity→?), incoming (?→entity), or both (default: both) |