Add to the Voice Brain memory
add_to_memoryAdd to the profile's Voice Brain memory, one of two ways. (1) A piece it does not have (a published post, a newsletter, a talk transcript) by pasted text or a public URL: it is indexed now and its ideas, claims, stories and topics join the memory with verbatim quotes (60+ words; the same text twice is skipped). (2) One memory stated directly with memory (a sentence the voice says or believes, 300 characters max) plus optional kind (default idea) and topic (topic_id from get_memory, or topic_label to find or create one by name; neither = the nearest close topic). It is linked to what the memory already holds. Free either way. Calls the ScriptGrain API, POST /v1/profiles/{id}/memory/pieces or /memory/units. API reference: https://scriptgrain.com/docs/api.md
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | a public page URL to read, or | |
| kind | No | With memory: its kind (default idea). | |
| text | No | A piece's text, or | |
| title | No | The piece's title (text or url only). | |
| memory | No | ONE memory stated directly, instead of a piece. | |
| topic_id | No | With memory: an existing topic's id from get_memory. | |
| profile_id | Yes | ||
| topic_label | No | With memory: a topic by name, created if new. |