create_link
Create a visual link between two thoughts in TheBrain, specifying the relationship type and optional visual properties such as color, thickness, and direction.
Instructions
Create a link between two thoughts with visual properties
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Label for the link | |
| color | No | Link color in hex format (e.g., "#6fbf6f") | |
| typeId | No | ID of link type | |
| brainId | No | The ID of the brain | |
| relation | Yes | Relation type: 1=Child, 2=Parent, 3=Jump, 4=Sibling | |
| direction | No | Direction flags: 1=IsDirected, 2=DirectionBA, 4=OneWay | |
| thickness | No | Link thickness (visual weight) | |
| thoughtIdA | Yes | ID of the first thought | |
| thoughtIdB | Yes | ID of the second thought |