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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity": "<entity>"
},
"name": "mempalace_kg_query"
}
}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 |