mempalace_kg_add
Add a tenant-scoped knowledge-graph fact with optional validity period and provenance metadata to the memory store.
Instructions
Add a tenant-scoped temporal knowledge-graph fact with optional validity and provenance metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object | Yes | Value or entity at the object side of the relationship. | |
| subject | Yes | Entity at the subject side of the relationship. | |
| valid_to | No | Optional exclusive end date or timestamp after which this fact is inactive. | |
| predicate | Yes | Relationship type, such as status, owns, or assigned_to. | |
| confidence | No | Optional confidence score from 0 to 1 for the asserted fact. | |
| valid_from | No | Optional inclusive start date or timestamp for this fact. | |
| source_file | No | Optional source-file provenance label recorded with the fact audit. | |
| source_closet | No | Optional provenance label for the source collection or closet. | |
| source_drawer_id | No | Optional drawer identifier supporting this fact. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fact | Yes | ||
| success | Yes | ||
| triple_id | Yes |