mempalace_kg_add
Add a triple (subject, predicate, object) to a persistent knowledge graph, optionally with a start date or source closet ID.
Instructions
Add a fact to the knowledge graph. Subject → predicate → object with optional time window. E.g. ('Max', 'started_school', 'Year 7', valid_from='2026-09-01').
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": {
"subject": "<subject>",
"predicate": "<predicate>",
"object": "<object>"
},
"name": "mempalace_kg_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | The entity doing/being something | |
| predicate | Yes | The relationship type (e.g. 'loves', 'works_on', 'daughter_of') | |
| object | Yes | The entity being connected to | |
| valid_from | No | When this became true (YYYY-MM-DD, optional) | |
| source_closet | No | Closet ID where this fact appears (optional) |