link_thoughts
Creates a typed, optionally weighted edge between two existing thoughts and attaches filterable metadata; duplicate source-target-type links are rejected.
Instructions
Create a typed edge between two existing thoughts, identified by their identifiers. Choose the edge type and optionally a weight in [0.0, 1.0]. Optionally attach a metadata object (simple field names to JSON scalars) that list_edges can later filter on. Both endpoints must already exist. An edge is unique per (source, target, type): linking the same pair with the same type twice is rejected rather than ignored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | No | ||
| edge_id | No | ||
| metadata | No | ||
| edge_type | Yes | ||
| to_thought_id | Yes | ||
| from_thought_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||