Create entity with linking
create_entity_cognitiveCreate a new entity and link it to specific existing entities in the same call.
Always inserts a new node (no name de-duplication). Like create_entity,
it records a creation episode, memory links and an event, and may queue
merge proposals for very similar names. If any explicit link targets an
unknown entity, nothing is created.
Args:
name: Human-readable name.
entity_type: Type from the closed ontology (schema enum).
strategy: 'hybrid' (default) — root link plus explicit_links;
'explicit' — only explicit_links (required);
'root' — only the NEXUS root link;
'similar' — related_to the most recent entity of the same type;
'none' — no links.
attributes: Optional key-value attributes.
explicit_links: List of {entity_id, relation_type (ontology enum,
default 'related_to'), weight, causal_probability, direction
('outgoing' default, or 'incoming')}.
episode_description: Optional note stored on the creation episode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| strategy | No | hybrid | |
| attributes | No | ||
| entity_type | Yes | ||
| explicit_links | No | ||
| episode_description | No |