brain_ingest
Write a structured set of thoughts, links, notes, and tags in one batch call, using temp IDs for relationships and deduplication to avoid duplicates.
Instructions
Writes a whole structure of thoughts, links, notes and tags in a single call. Call it once you have decomposed some material (an article, a document, a discussion) into several connected thoughts — creating them one by one at that volume is slow and breaks halfway. Thoughts reference each other by tempId, arbitrary labels you invent yourself; the server substitutes real identifiers. A parent may be either a tempId from this batch or the UUID of an existing thought, which is how a new branch grafts onto what the brain already holds. Search with brain_search first: some of the thoughts may already exist, and linking to them beats creating duplicates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | No | Extra links on top of the hierarchy. These are what turn a set of thoughts into a graph — use them freely and label them. | |
| brainId | Yes | Brain identifier. Take it from brain_list — never guess it. | |
| thoughts | Yes | The batch's thoughts. Order does not matter; dependencies resolve themselves. | |
| deduplicate | No | Skip creating a thought when the same parent already has a child with that name. On by default, which makes re-running a batch safe. |