brain_morph_thought
Atomically reparent and/or retype a thought in one operation. Requires npub for credit billing.
Reparenting replaces the thought's existing parent link (the old parent child-link is deleted and a new one created); it does not add an additional parent. To also set the thought's name or label in the same call, use update_thought (which now accepts new_parent_id).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | No | Required. Your Nostr public key (npub1...) for credit billing. | |
| confirm | No | If True, verify the reparent/retype against the authoritative change-log (MOVED_LINK / SET_TYPE) instead of the cached graph, and attach a ``confirmation`` block. Costs one extra billed read. | |
| brain_id | No | The ID of the brain (uses active brain if not specified) | |
| dpop_token | No | ||
| thought_id | Yes | The ID of the thought to morph | |
| new_type_id | No | ID of the new type to assign | |
| new_parent_id | No | ID of the new parent thought (replaces all current parents) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||