Connect two neurons
crbro_connectCreate, strengthen, or delete a synapse between two validated memory neurons. This defines explicit relationships like dependency, causality, or hierarchy beyond automatic co-occurrence.
Instructions
Write: create, strengthen or delete the undirected synapse between two neurons; both ids are validated. action=connect (default) creates at strength 0.5 and adds +0.1 per repeat call (cap 1.0), or sets the absolute strength you pass; action=disconnect deletes the synapse and unlinks both neurons — the destructive side. Idle synapses decay and crbro_maintenance prunes the weak; crbro_consolidate links neurons written in the same session by itself, so use this for relationships beyond co-occurrence. To read connections use crbro_inspect view=neuron. Returns synapse_id, action (created|strengthened|disconnected|absent) and strength.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Exact neuron id. Order does not matter — (a,b) and (b,a) are the same synapse. | |
| from | Yes | Exact neuron id, e.g. "project_octochat". Validated: an unknown id is an error. | |
| type | No | Relationship kind, used only when the synapse is created (default conceptual). Ignored on strengthen and on disconnect. | |
| action | No | connect = create or strengthen (default); disconnect = delete the synapse and unlink both neurons. An absent synapse returns action:absent, removed:false, not an error. | |
| context | No | One line on the relationship. On strengthen it replaces the stored text; omit to keep it. | |
| strength | No | Absolute strength 0.0-1.0 to set, on create or on an existing synapse, instead of the 0.5 / +0.1 rule. |