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.
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 |
|---|---|---|---|
| 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) |