mempalace_kg_query
Retrieve temporal knowledge-graph facts for an entity, with optional time and direction filters to query historical relationships.
Instructions
Query tenant-scoped temporal knowledge-graph facts for an entity at an optional point in time and direction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Optional date or timestamp used to evaluate fact validity. | |
| entity | Yes | Entity name whose temporal facts should be returned. | |
| direction | No | Whether to follow subject edges, object edges, or both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | ||
| count | Yes | ||
| facts | Yes | ||
| entity | Yes |