add_triple
Create a relationship between two entities in a knowledge graph by specifying subject, predicate, and object, with automatic entity creation.
Instructions
Add a knowledge graph triple (subject -> predicate -> object).
Entities are auto-created by name if they don't exist.
Args: subject: The subject entity name. predicate: The relationship predicate. object_name: The object entity name.
Returns: JSON string with the created triple details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | ||
| predicate | Yes | ||
| object_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |