KG Add Triple
localnest_kg_add_tripleAdd facts to a knowledge graph by specifying a subject, predicate, and object. Entities are auto-created, and contradictory statements are detected.
Instructions
Add a subject-predicate-object triple to the knowledge graph. Entities are auto-created on first reference. Detects contradictions (same subject+predicate with different valid object) and warns without blocking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject_name | Yes | ||
| predicate | Yes | ||
| object_name | Yes | ||
| subject_id | No | ||
| object_id | No | ||
| valid_from | No | ||
| valid_to | No | ||
| confidence | No | ||
| source_memory_id | No | ||
| source_type | No | manual | |
| terse | No | verbose | |
| response_format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |