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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"thoughtIdA": "<thoughtIdA>",
"thoughtIdB": "<thoughtIdB>",
"relation": "<relation>"
},
"name": "create_link"
}
}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 |