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